Skip to content

Commit bd5a594

Browse files
zhangyi089tytso
authored andcommitted
ext4: update doc about journal superblock description
Update the description in doc about the s_head parameter in the journal superblock. Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Link: https://lore.kernel.org/r/20230322013353.1843306-4-yi.zhang@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 7294505 commit bd5a594

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/filesystems/ext4/journal.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,13 @@ which is 1024 bytes long:
260260
- s_num_fc_blocks
261261
- Number of fast commit blocks in the journal.
262262
* - 0x58
263+
- __be32
264+
- s_head
265+
- Block number of the head (first unused block) of the journal, only
266+
up-to-date when the journal is empty.
267+
* - 0x5C
263268
- __u32
264-
- s_padding[42]
269+
- s_padding[40]
265270
-
266271
* - 0xFC
267272
- __be32

0 commit comments

Comments
 (0)