summaryrefslogtreecommitdiff
path: root/fs/verity/fsverity_private.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-07-22 19:26:21 +0300
committerEric Biggers <ebiggers@google.com>2019-07-29 02:59:16 +0300
commit5585f2af737ae3d7454cb0ae77b995cd3ac7e43c (patch)
treef2208ea9f78de125173acabc5107d57f6cf0af20 /fs/verity/fsverity_private.h
parent671e67b47e9fffd12c8f69eda853a202cb5b3fc5 (diff)
downloadlinux-5585f2af737ae3d7454cb0ae77b995cd3ac7e43c.tar.xz
fs-verity: add inode and superblock fields
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. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/verity/fsverity_private.h')
0 files changed, 0 insertions, 0 deletions