diff options
author | Eric Biggers <ebiggers@google.com> | 2019-07-22 19:26:21 +0300 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-07-29 02:59:16 +0300 |
commit | 5585f2af737ae3d7454cb0ae77b995cd3ac7e43c (patch) | |
tree | f2208ea9f78de125173acabc5107d57f6cf0af20 /include/linux/fsverity.h | |
parent | 671e67b47e9fffd12c8f69eda853a202cb5b3fc5 (diff) | |
download | linux-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 'include/linux/fsverity.h')
0 files changed, 0 insertions, 0 deletions