From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D47BC433F5 for ; Tue, 21 Sep 2021 03:31:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6EBED61245 for ; Tue, 21 Sep 2021 03:31:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbhIUDdT (ORCPT ); Mon, 20 Sep 2021 23:33:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:59304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232102AbhIUDTL (ORCPT ); Mon, 20 Sep 2021 23:19:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C10B560FA0; Tue, 21 Sep 2021 03:17:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632194263; bh=1z2WAjQcgYOvO1mOy7tZvGYG0cWDjea2L4QGJOBqXAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jfAHRu31KG3TG0GFmYsYqIynz89ivQwawvig6FqG9mFfDKclwPC2tAqXg+XxwC510 dKhH5VQdRP5cnl7yeHUPIgYKDkbLyXwADJ9kY7dOYreG8CkkiTStmaAY/0bNMnHkn6 n5npjmo00AqREwTfwH9XqKpNRcuErmIxqdJxqfQ6UetUWz6wgbILr/UMu6pAAYQJrc zgoWhIY/wM6NKkoZbQutvcFtqjFBu9cu7WZta6glZmqJONVdv3+/Xho71IQziIbc5E JB+aSx88i6VDIWdXvcUlmrHgoHlbmwgyBdKWLLPocqN+hHdwBrtFY1bUpf2a2EIIAo 2uEQgbIWVPLDg== Date: Mon, 20 Sep 2021 20:17:42 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-mtd@lists.infradead.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH] fscrypt: remove fscrypt_operations::max_namelen Message-ID: References: <20210909184513.139281-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210909184513.139281-1-ebiggers@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Sep 09, 2021 at 11:45:13AM -0700, Eric Biggers wrote: > From: Eric Biggers > > The max_namelen field is unnecessary, as it is set to 255 (NAME_MAX) on > all filesystems that support fscrypt (or plan to support fscrypt). For > simplicity, just use NAME_MAX directly instead. > > Signed-off-by: Eric Biggers > --- > fs/crypto/fname.c | 3 +-- > fs/ext4/super.c | 1 - > fs/f2fs/super.c | 1 - > fs/ubifs/crypto.c | 1 - > include/linux/fscrypt.h | 3 --- > 5 files changed, 1 insertion(+), 8 deletions(-) Applied to fscrypt.git#master for 5.16. - Eric From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 813E2C433EF for ; Tue, 21 Sep 2021 03:18:08 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4371B60FA0; Tue, 21 Sep 2021 03:18:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4371B60FA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1mSWII-0008II-CZ; Tue, 21 Sep 2021 03:18:06 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSWIH-0008I9-LZ for linux-f2fs-devel@lists.sourceforge.net; Tue, 21 Sep 2021 03:18:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XKm4fMkYB5BqCFsynK6e7C2Q+raC7VJQcQNAMCdj5tw=; b=OB4GvBwupjZvc/fQtC2MURRKDS LZvhmwF2N/zeaiLMmAfOcOghZ9P/2xNpZBQElryJeaooe8UvP1alnaaU5J5Whucudq1HxZMi6vfJ7 Xs/aLXca0y7ykKstLdTMDB7XU2EZBDVGQgtqCcx9Uws8MYUa5QKRRxcOiJCKXjRcxWp0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XKm4fMkYB5BqCFsynK6e7C2Q+raC7VJQcQNAMCdj5tw=; b=GbWz5zwaahA/wOI5bQICSarM4N zT3jJ7zGtLqlX3VgYYwAqxkvsJCVj4czR8bTQrBKBmGS5eoVj5zKKXq5rOyE/qX5iI+5ltkZJiPbA T1cZv+DdDDwpSIiH6kFnAXC6UO13Z47GvJYzG71SkRuMhC7HJ7yKDiFj/YftkpDBBGOs=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1mSWID-00027u-DN for linux-f2fs-devel@lists.sourceforge.net; Tue, 21 Sep 2021 03:18:05 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C10B560FA0; Tue, 21 Sep 2021 03:17:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632194263; bh=1z2WAjQcgYOvO1mOy7tZvGYG0cWDjea2L4QGJOBqXAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jfAHRu31KG3TG0GFmYsYqIynz89ivQwawvig6FqG9mFfDKclwPC2tAqXg+XxwC510 dKhH5VQdRP5cnl7yeHUPIgYKDkbLyXwADJ9kY7dOYreG8CkkiTStmaAY/0bNMnHkn6 n5npjmo00AqREwTfwH9XqKpNRcuErmIxqdJxqfQ6UetUWz6wgbILr/UMu6pAAYQJrc zgoWhIY/wM6NKkoZbQutvcFtqjFBu9cu7WZta6glZmqJONVdv3+/Xho71IQziIbc5E JB+aSx88i6VDIWdXvcUlmrHgoHlbmwgyBdKWLLPocqN+hHdwBrtFY1bUpf2a2EIIAo 2uEQgbIWVPLDg== Date: Mon, 20 Sep 2021 20:17:42 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Message-ID: References: <20210909184513.139281-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210909184513.139281-1-ebiggers@kernel.org> X-Headers-End: 1mSWID-00027u-DN Subject: Re: [f2fs-dev] [PATCH] fscrypt: remove fscrypt_operations::max_namelen X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-ext4@vger.kernel.org, linux-mtd@lists.infradead.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Thu, Sep 09, 2021 at 11:45:13AM -0700, Eric Biggers wrote: > From: Eric Biggers > > The max_namelen field is unnecessary, as it is set to 255 (NAME_MAX) on > all filesystems that support fscrypt (or plan to support fscrypt). For > simplicity, just use NAME_MAX directly instead. > > Signed-off-by: Eric Biggers > --- > fs/crypto/fname.c | 3 +-- > fs/ext4/super.c | 1 - > fs/f2fs/super.c | 1 - > fs/ubifs/crypto.c | 1 - > include/linux/fscrypt.h | 3 --- > 5 files changed, 1 insertion(+), 8 deletions(-) Applied to fscrypt.git#master for 5.16. - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38131C433EF for ; Tue, 21 Sep 2021 03:18:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E46DA61100 for ; Tue, 21 Sep 2021 03:18:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E46DA61100 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Bl00Y1BuuC7qGWkrdRXKobaXE1ifaBqFP3JUedWIRvg=; b=QXO0nDV7Ugm8ni Wbc2nj4SJdozn2gkTTJknA/QH4yAI5NYGguTERYZm4OryIaj/XGIV1QdqsrnZ5dj+3Vxu2SHRf26Z eirg/pw/mDLXsCoNeh4DVkGzMt26eU+kEdQEiaN+v7ppayaxTQwDn7QQVXbq9JTEEYzQgrDRmcvtQ /SBI/eCqu/XDiUfTYzTxXyNjtW1SAd+q8atdQBN++fvXDNbHrnmZ+psU4ONQ9KkE3pOpnTtOmGs7A ihTygPVDox2NzPQ7bvSFc+eMrxXRzVlDhq6JuQoRUSM3NU11k6QyODvQSrYuT6TIdDWnejopH6ug+ Oso9MipRQAjFvl57mToQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSWI1-003X9H-BN; Tue, 21 Sep 2021 03:17:49 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSWHw-003X8m-Hp for linux-mtd@lists.infradead.org; Tue, 21 Sep 2021 03:17:45 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id C10B560FA0; Tue, 21 Sep 2021 03:17:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632194263; bh=1z2WAjQcgYOvO1mOy7tZvGYG0cWDjea2L4QGJOBqXAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jfAHRu31KG3TG0GFmYsYqIynz89ivQwawvig6FqG9mFfDKclwPC2tAqXg+XxwC510 dKhH5VQdRP5cnl7yeHUPIgYKDkbLyXwADJ9kY7dOYreG8CkkiTStmaAY/0bNMnHkn6 n5npjmo00AqREwTfwH9XqKpNRcuErmIxqdJxqfQ6UetUWz6wgbILr/UMu6pAAYQJrc zgoWhIY/wM6NKkoZbQutvcFtqjFBu9cu7WZta6glZmqJONVdv3+/Xho71IQziIbc5E JB+aSx88i6VDIWdXvcUlmrHgoHlbmwgyBdKWLLPocqN+hHdwBrtFY1bUpf2a2EIIAo 2uEQgbIWVPLDg== Date: Mon, 20 Sep 2021 20:17:42 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-mtd@lists.infradead.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH] fscrypt: remove fscrypt_operations::max_namelen Message-ID: References: <20210909184513.139281-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210909184513.139281-1-ebiggers@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210920_201744_652211_CD3E5C20 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Thu, Sep 09, 2021 at 11:45:13AM -0700, Eric Biggers wrote: > From: Eric Biggers > > The max_namelen field is unnecessary, as it is set to 255 (NAME_MAX) on > all filesystems that support fscrypt (or plan to support fscrypt). For > simplicity, just use NAME_MAX directly instead. > > Signed-off-by: Eric Biggers > --- > fs/crypto/fname.c | 3 +-- > fs/ext4/super.c | 1 - > fs/f2fs/super.c | 1 - > fs/ubifs/crypto.c | 1 - > include/linux/fscrypt.h | 3 --- > 5 files changed, 1 insertion(+), 8 deletions(-) Applied to fscrypt.git#master for 5.16. - Eric ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/