Skip to content

Commit 1862304

Browse files
Kemeng Shitytso
authored andcommitted
jbd2: correct comment jbd2_mark_journal_empty
After jbd2_mark_journal_empty, journal log is supposed to be empty. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Zhang Yi <yi.zhang@huawei.com> Link: https://patch.msgid.link/20240801013815.2393869-8-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent f47aa3e commit 1862304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/jbd2/journal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,7 @@ static void jbd2_mark_journal_empty(journal_t *journal, blk_opf_t write_flags)
19381938
if (had_fast_commit)
19391939
jbd2_set_feature_fast_commit(journal);
19401940

1941-
/* Log is no longer empty */
1941+
/* Log is empty */
19421942
write_lock(&journal->j_state_lock);
19431943
journal->j_flags |= JBD2_FLUSHED;
19441944
write_unlock(&journal->j_state_lock);

0 commit comments

Comments
 (0)