Commit 3e7c69cd authored by Daniel Martín Gómez's avatar Daniel Martín Gómez Committed by Theodore Ts'o
Browse files

jbd2: Fix comment describing journal_init_common()



The code indicates that journal_init_common() fills the journal_t object
it returns while the comment incorrectly states that only a few fields are
initialised.  Also, the comment claims that journal structures could be
created from scratch which isn't possible as journal_init_common() calls
journal_load_superblock() which loads and checks journal superblock from
disk.

Signed-off-by: default avatarDaniel Martín Gómez <dalme@riseup.net>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20241107144538.3544-1-dalme@riseup.net


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent e06a8c24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment