Skip to content

Commit 33318c0

Browse files
committed
fscrypt.rst: update definition of struct fscrypt_context_v2
Get the copy of the fscrypt_context_v2 definition in the documentation in sync with the actual definition, which was changed recently by commit 5b11888 ("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>
1 parent 33cc938 commit 33318c0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Documentation/filesystems/fscrypt.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,8 @@ directory.) These structs are defined as follows::
13821382
u8 contents_encryption_mode;
13831383
u8 filenames_encryption_mode;
13841384
u8 flags;
1385-
u8 __reserved[4];
1385+
u8 log2_data_unit_size;
1386+
u8 __reserved[3];
13861387
u8 master_key_identifier[FSCRYPT_KEY_IDENTIFIER_SIZE];
13871388
u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
13881389
};

0 commit comments

Comments
 (0)