diff mbox series

[v5,3/3] ext4: update doc about journal superblock description

Message ID 20230322013353.1843306-4-yi.zhang@huaweicloud.com
State Awaiting Upstream
Headers show
Series ext4, jbd2: journal cycled record transactions between each mount | expand

Commit Message

Zhang Yi March 22, 2023, 1:33 a.m. UTC
From: Zhang Yi <yi.zhang@huawei.com>

Update the description in doc about the s_head parameter in the journal
superblock.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
---
 Documentation/filesystems/ext4/journal.rst | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/filesystems/ext4/journal.rst b/Documentation/filesystems/ext4/journal.rst
index a6bef5293a60..6e8fb2d4b46f 100644
--- a/Documentation/filesystems/ext4/journal.rst
+++ b/Documentation/filesystems/ext4/journal.rst
@@ -260,8 +260,13 @@  which is 1024 bytes long:
      - s_num_fc_blocks
      - Number of fast commit blocks in the journal.
    * - 0x58
+     - __be32
+     - s_head
+     - Block number of the head (first unused block) of the journal, only
+       up-to-date when the journal is empty.
+   * - 0x5C
      - __u32
-     - s_padding[42]
+     - s_padding[40]
      -
    * - 0xFC
      - __be32