summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangjianjian (C) <wangjianjian3@huawei.com>2022-04-01 20:07:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-27 14:39:01 +0200
commit6b952563934c37f29788122081acb9ff9f2ab17a (patch)
treea44f86516ed50f20e2bb0674371eb12e267c00fd
parent9b90003771e5112e73d362ba4f4df03c7064ddc9 (diff)
downloadlinux-stable-6b952563934c37f29788122081acb9ff9f2ab17a.tar.gz
linux-stable-6b952563934c37f29788122081acb9ff9f2ab17a.tar.bz2
linux-stable-6b952563934c37f29788122081acb9ff9f2ab17a.zip
ext4, doc: fix incorrect h_reserved size
commit 7102ffe4c166ca0f5e35137e9f9de83768c2d27d 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>
-rw-r--r--Documentation/filesystems/ext4/attributes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/ext4/attributes.rst b/Documentation/filesystems/ext4/attributes.rst
index 54386a010a8d..871d2da7a0a9 100644
--- a/Documentation/filesystems/ext4/attributes.rst
+++ b/Documentation/filesystems/ext4/attributes.rst
@@ -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