]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ext4, doc: fix incorrect h_reserved size
authorwangjianjian (C) <wangjianjian3@huawei.com>
Fri, 1 Apr 2022 12:07:35 +0000 (20:07 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Apr 2022 02:24:46 +0000 (22:24 -0400)
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
Documentation/filesystems/ext4/attributes.rst

index 54386a010a8d7003a36d8792330715316f7f3129..871d2da7a0a91e73f0f791f5627a57855741f20a 100644 (file)
@@ -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