[PATCH v5 03/13] ext4: move crypt info pointer to fs-specific part of inode

Theodore Ts'o tytso at mit.edu
Mon Aug 11 04:13:36 PDT 2025


On Sun, Aug 10, 2025 at 12:56:56AM -0700, Eric Biggers wrote:
> Move the fscrypt_inode_info pointer into the filesystem-specific part of
> the inode by adding the field ext4_inode_info::i_crypt_info and
> configuring fscrypt_operations::inode_info_offs accordingly.
> 
> This is a prerequisite for a later commit that removes
> inode::i_crypt_info, saving memory and improving cache efficiency with
> filesystems that don't support fscrypt.
> 
> Co-developed-by: Christian Brauner <brauner at kernel.org>
> Signed-off-by: Christian Brauner <brauner at kernel.org>
> Signed-off-by: Eric Biggers <ebiggers at kernel.org>

Signed-off-by: Theodore Ts'o <tytso at mit.edu>



More information about the linux-mtd mailing list