Repository navigation
Commit 5585f2a
committed
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>1 parent 671e67b commit 5585f2a
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
723 | 725 | | |
724 | 726 | | |
725 | 727 | | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
726 | 732 | | |
727 | 733 | | |
728 | 734 | | |
| |||
1427 | 1433 | | |
1428 | 1434 | | |
1429 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1430 | 1439 | | |
1431 | 1440 | | |
1432 | 1441 | | |
| |||
1965 | 1974 | | |
1966 | 1975 | | |
1967 | 1976 | | |
| 1977 | + | |
1968 | 1978 | | |
1969 | 1979 | | |
1970 | 1980 | | |
| |||
2006 | 2016 | | |
2007 | 2017 | | |
2008 | 2018 | | |
| 2019 | + | |
2009 | 2020 | | |
2010 | 2021 | | |
2011 | 2022 | | |
| |||
0 commit comments