From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C549258EE9; Sun, 5 Jul 2026 19:11:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783278699; cv=none; b=bIMU2u6d/0w11yFMcaOJxgyqoLk8P9JWTdqPi8cDTUkIrr9HNG4jgdCqlWE9PlfLyeglSptWg4qE59b3Z7cz+xCbSxDshiMtql9EzpRrS2hTnkzCuZkB1eh+vqLpNqok0AgB9NT+FbaYFBeXAStcBitDQpPUk9icJODmZG7Es+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783278699; c=relaxed/simple; bh=HGUX3ITUUdlLZrqd71Xml1egxrLiFnZooAIvTl8X/fM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LzSUHQMtfwhc4JNHUOEVa8kF5bcqQsc2B2s+FjY2yB/fE1iG8CaavYmhXimksDqB/iuCsDo58fcp1+3yF2iK7QSkTvX6rpzHrHD0pRqZOk6tI4oPnIDnw4xpp+YoEABDqf0lVFRlNYNe0arvzKCkfmYj/vs8Ts/FeCiQMAqzCYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FmXo+5G/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FmXo+5G/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E97E81F000E9; Sun, 5 Jul 2026 19:11:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783278698; bh=qgjBNympinMaiD/Apvho4qUjfWRuCG4CHRGDdhecYoI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=FmXo+5G/bmPTpIMcCl7paLY5gKr9zlHYc5q/bhu2CjSnjIpDFH4zqA4jQjAsyy+FC 60yAsyeDXhKs32qIrlSsZZ81+5aD8BuSuh6rOQvNVREutS8L/6+e1M9q/t5ByoP9JV /p+1RoUfg4T+3+m5DH+6tnZpZzNl3Zl/6kQQbUCuBUxo/kJynqOgb2XUDuiZuBmbu7 tsLLwX53TrBkLdQE7+PWAL0KfhetHploR+9cL1jAeo5yr5Z56I9t+5uHKHnu+HvKdQ 0nuztLShHMosWbwt4rP2jZiDJ1kqc/D2K4Ane2oWbsOvE0rbRDEeosTrl0j91F8AAU ymRPWVYsWUevA== Date: Sun, 5 Jul 2026 12:11:36 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fscrypt: Remove FSCRYPT_MODE_MAX Message-ID: <20260705191136.GB41916@quark> References: <20260618231404.132829-1-ebiggers@kernel.org> Precedence: bulk X-Mailing-List: linux-fscrypt@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260618231404.132829-1-ebiggers@kernel.org> On Thu, Jun 18, 2026 at 04:14:04PM -0700, Eric Biggers wrote: > Now that the arrays of per-mode keys in struct fscrypt_master_key have > been replaced by a linked list, the definition of FSCRYPT_MODE_MAX > doesn't do anything useful. (Previously it was used to size these > arrays.) Remove it. > > Signed-off-by: Eric Biggers > --- > fs/crypto/fscrypt_private.h | 3 --- > fs/crypto/keysetup.c | 5 ----- > include/uapi/linux/fscrypt.h | 1 - > tools/include/uapi/linux/fscrypt.h | 1 - > 4 files changed, 10 deletions(-) Applied to https://git.kernel.org/pub/scm/fs/fscrypt/linux.git/log/?h=for-next - Eric