summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorDaniel Martín Gómez <dalme@riseup.net>2024-11-07 15:45:38 +0100
committerTheodore Ts'o <tytso@mit.edu>2024-11-13 12:56:48 -0500
commit3e7c69cdb053f9edea95502853f35952ab6cbf06 (patch)
tree8d498c002c9f57b2fe33872d30a669549fe3e2a3 /mm/truncate.c
parente06a8c24f6445c2f1b5255caa4f63b38e31c43fa (diff)
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: Daniel Martín Gómez <dalme@riseup.net> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Zhang Yi <yi.zhang@huawei.com> Link: https://patch.msgid.link/20241107144538.3544-1-dalme@riseup.net Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions