2022-04-16 02:20:03

by Matthew G McGovern

[permalink] [raw]
Subject: [PATCH] Ext4 Documentation: ext4_xattr_header struct size fix

From: "Matthew G. McGovern" <[email protected]>
Date: Wed, 13 Apr 2022 15:48:15 -0700
Subject: [PATCH] Ext4 Documentation: ext4_xattr_header struct size fix

An ext4 struct has the wrong array size for a field in the docs.

- Document correct array size (3) for ext4_xattr_header.h_reserved

Signed-off-by: Matthew G. McGovern <[email protected]>
---
Documentation/filesystems/ext4/attributes.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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

base-commit: 96485e4462604744d66bf4301557d996d80b85eb
--
2.25.1