Skip to content

Commit

Permalink
ext4, doc: fix incorrect h_reserved size
Browse files Browse the repository at this point in the history
commit 7102ffe upstream.

According to document and code, ext4_xattr_header's size is 32 bytes, so
h_reserved size should be 3.

Signed-off-by: Wang Jianjian <wangjianjian3@huawei.com>
Link: https://lore.kernel.org/r/92fcc3a6-7d77-8c09-4126-377fcb4c46a5@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
wangjianjian (C) authored and gregkh committed Apr 27, 2022
1 parent 22c450d commit 0c54b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/filesystems/ext4/attributes.rst
Expand Up @@ -76,7 +76,7 @@ The beginning of an extended attribute block is in
- Checksum of the extended attribute block.
* - 0x14
- \_\_u32
- h\_reserved[2]
- h\_reserved[3]
- Zero.

The checksum is calculated against the FS UUID, the 64-bit block number
Expand Down

0 comments on commit 0c54b09

Please sign in to comment.