Skip to content

Commit da58033

Browse files
Kemeng Shitytso
authored andcommitted
jbd2: correct stale function name in comment
Rename stale journal_clear_revoked_flag to jbd2_clear_buffer_revoked_flags. Rename stale journal_switch_revoke to jbd2_journal_switch_revoke_table. Rename stale __journal_file_buffer to __jbd2_journal_file_buffer. Signed-off-by: Kemeng Shi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 6c14627 commit da58033

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

fs/jbd2/revoke.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ void jbd2_journal_cancel_revoke(handle_t *handle, struct journal_head *jh)
474474
}
475475

476476
/*
477-
* journal_clear_revoked_flag clears revoked flag of buffers in
477+
* jbd2_clear_buffer_revoked_flags clears revoked flag of buffers in
478478
* revoke table to reflect there is no revoked buffers in the next
479479
* transaction which is going to be started.
480480
*/
@@ -503,9 +503,9 @@ void jbd2_clear_buffer_revoked_flags(journal_t *journal)
503503
}
504504
}
505505

506-
/* journal_switch_revoke table select j_revoke for next transaction
507-
* we do not want to suspend any processing until all revokes are
508-
* written -bzzz
506+
/* jbd2_journal_switch_revoke_table table select j_revoke for next
507+
* transaction we do not want to suspend any processing until all
508+
* revokes are written -bzzz
509509
*/
510510
void jbd2_journal_switch_revoke_table(journal_t *journal)
511511
{

fs/jbd2/transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,7 @@ static int __dispose_buffer(struct journal_head *jh, transaction_t *transaction)
21882188
/*
21892189
* We don't want to write the buffer anymore, clear the
21902190
* bit so that we don't confuse checks in
2191-
* __journal_file_buffer
2191+
* __jbd2_journal_file_buffer
21922192
*/
21932193
clear_buffer_dirty(bh);
21942194
__jbd2_journal_file_buffer(jh, transaction, BJ_Forget);

0 commit comments

Comments
 (0)