]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fscrypt.rst: update definition of struct fscrypt_context_v2
authorEric Biggers <ebiggers@google.com>
Wed, 6 Dec 2023 00:19:01 +0000 (16:19 -0800)
committerEric Biggers <ebiggers@google.com>
Sat, 9 Dec 2023 20:38:15 +0000 (12:38 -0800)
Get the copy of the fscrypt_context_v2 definition in the documentation
in sync with the actual definition, which was changed recently by
commit 5b1188847180 ("fscrypt: support crypto data unit size less than
filesystem block size").

Link: https://lore.kernel.org/r/20231206001901.14371-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Documentation/filesystems/fscrypt.rst

index 1b84f818e574e8bbd61d06e3f48c34132df61bbb..8d38b47b7b83c9c09ec17dd3908593e851331879 100644 (file)
@@ -1382,7 +1382,8 @@ directory.)  These structs are defined as follows::
             u8 contents_encryption_mode;
             u8 filenames_encryption_mode;
             u8 flags;
-            u8 __reserved[4];
+            u8 log2_data_unit_size;
+            u8 __reserved[3];
             u8 master_key_identifier[FSCRYPT_KEY_IDENTIFIER_SIZE];
             u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
     };