[GIT PULL] fscrypt fixes for v7.2-rc5

Eric Biggers <[email protected]> Fri, 24 Jul 2026 12:59:41 -0700
Newsgroups org.kernel.vger.linux-fscrypt,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <20260724195941.GA122270@quark>
The following changes since commit 1590cf0329716306e948a8fc29f1d3ee87d3989f:

  Linux 7.2-rc4 (2026-07-19 13:54:41 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/fs/fscrypt/linux.git tags/fscrypt-for-linus

for you to fetch changes up to 6fe4e4b8259e1330945b5f3c9476e08473b8e0e8:

  fscrypt: Avoid dynamic allocation in fscrypt_get_devices() (2026-07-20 10:39:24 -0700)

----------------------------------------------------------------

A couple fixes for AI-detected bugs.

----------------------------------------------------------------
Eric Biggers (2):
      fscrypt: Add missing superblock check in find_or_insert_direct_key()
      fscrypt: Avoid dynamic allocation in fscrypt_get_devices()

 fs/crypto/inline_crypt.c | 57 +++++++++++++++++-------------------------------
 fs/crypto/keysetup_v1.c  |  8 ++++++-
 fs/f2fs/super.c          | 25 +++++++++++----------
 include/linux/fscrypt.h  | 18 ++++++++-------
 4 files changed, 51 insertions(+), 57 deletions(-)