diff options
author | Eric Biggers <ebiggers@google.com> | 2019-07-22 18:26:24 +0200 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-08-13 04:33:51 +0200 |
commit | 84fb7ca4b3f864782cb1e66e60b04d4ea1d2930b (patch) | |
tree | 900f64fd037435fd27aedb094661dbe864e78d89 /Documentation/filesystems/ext4/inodes.rst | |
parent | ext4: add fs-verity read support (diff) | |
download | linux-84fb7ca4b3f864782cb1e66e60b04d4ea1d2930b.tar.xz linux-84fb7ca4b3f864782cb1e66e60b04d4ea1d2930b.zip |
ext4: update on-disk format documentation for fs-verity
Document the format of verity files on ext4, and the corresponding inode
and superblock flags.
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'Documentation/filesystems/ext4/inodes.rst')
-rw-r--r-- | Documentation/filesystems/ext4/inodes.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/filesystems/ext4/inodes.rst b/Documentation/filesystems/ext4/inodes.rst index 6bd35e506b6f..e851e6ca31fa 100644 --- a/Documentation/filesystems/ext4/inodes.rst +++ b/Documentation/filesystems/ext4/inodes.rst @@ -277,6 +277,8 @@ The ``i_flags`` field is a combination of these values: - This is a huge file (EXT4\_HUGE\_FILE\_FL). * - 0x80000 - Inode uses extents (EXT4\_EXTENTS\_FL). + * - 0x100000 + - Verity protected file (EXT4\_VERITY\_FL). * - 0x200000 - Inode stores a large extended attribute value in its data blocks (EXT4\_EA\_INODE\_FL). @@ -299,9 +301,9 @@ The ``i_flags`` field is a combination of these values: - Reserved for ext4 library (EXT4\_RESERVED\_FL). * - - Aggregate flags: - * - 0x4BDFFF + * - 0x705BDFFF - User-visible flags. - * - 0x4B80FF + * - 0x604BC0FF - User-modifiable flags. Note that while EXT4\_JOURNAL\_DATA\_FL and EXT4\_EXTENTS\_FL can be set with setattr, they are not in the kernel's EXT4\_FL\_USER\_MODIFIABLE mask, since it needs to handle the setting of |