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

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


On Sun, Aug 10, 2025 at 12:57:02AM -0700, Eric Biggers wrote:
> Move the fsverity_info pointer into the filesystem-specific part of the
> inode by adding the field ext4_inode_info::i_verity_info and configuring
> fsverity_operations::inode_info_offs accordingly.
> 
> This is a prerequisite for a later commit that removes
> inode::i_verity_info, saving memory and improving cache efficiency on
> filesystems that don't support fsverity.
> 
> 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>

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



More information about the linux-mtd mailing list