On Thu, Jun 06, 2019 at 08:51:55AM -0700, Eric Biggers wrote:
From: Eric Biggers <redacted>
Analogous to fs/crypto/, add fields to the VFS inode and superblock for
use by the fs/verity/ support layer:
- ->s_vop: points to the fsverity_operations if the filesystem supports
fs-verity, otherwise is NULL.
- ->i_verity_info: points to cached fs-verity information for the inode
after someone opens it, otherwise is NULL.
- S_VERITY: bit in ->i_flags that identifies verity inodes, even when
they haven't been opened yet and thus still have NULL ->i_verity_info.
Signed-off-by: Eric Biggers <redacted>
Looks good; you can add:
Reviewed-off-by: Theodore Ts'o [off-list ref]
- Ted