Re: [PATCH] fscrypt: Remove FSCRYPT_MODE_MAX
Eric Biggers <[email protected]> Sun, 5 Jul 2026 12:11:36 -0700
| Newsgroups | org.kernel.vger.linux-fscrypt,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260705191136.GB41916@quark> |
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 <[email protected]> > --- > 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