mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
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 <shikemeng@huaweicloud.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Zhang Yi <yi.zhang@huawei.com> Link: https://patch.msgid.link/20250123155014.2097920-6-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
6c14627790
commit
da5803391e
2 changed files with 5 additions and 5 deletions
|
|
@ -474,7 +474,7 @@ void jbd2_journal_cancel_revoke(handle_t *handle, struct journal_head *jh)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* journal_clear_revoked_flag clears revoked flag of buffers in
|
* jbd2_clear_buffer_revoked_flags clears revoked flag of buffers in
|
||||||
* revoke table to reflect there is no revoked buffers in the next
|
* revoke table to reflect there is no revoked buffers in the next
|
||||||
* transaction which is going to be started.
|
* transaction which is going to be started.
|
||||||
*/
|
*/
|
||||||
|
|
@ -503,9 +503,9 @@ void jbd2_clear_buffer_revoked_flags(journal_t *journal)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* journal_switch_revoke table select j_revoke for next transaction
|
/* jbd2_journal_switch_revoke_table table select j_revoke for next
|
||||||
* we do not want to suspend any processing until all revokes are
|
* transaction we do not want to suspend any processing until all
|
||||||
* written -bzzz
|
* revokes are written -bzzz
|
||||||
*/
|
*/
|
||||||
void jbd2_journal_switch_revoke_table(journal_t *journal)
|
void jbd2_journal_switch_revoke_table(journal_t *journal)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2188,7 +2188,7 @@ static int __dispose_buffer(struct journal_head *jh, transaction_t *transaction)
|
||||||
/*
|
/*
|
||||||
* We don't want to write the buffer anymore, clear the
|
* We don't want to write the buffer anymore, clear the
|
||||||
* bit so that we don't confuse checks in
|
* bit so that we don't confuse checks in
|
||||||
* __journal_file_buffer
|
* __jbd2_journal_file_buffer
|
||||||
*/
|
*/
|
||||||
clear_buffer_dirty(bh);
|
clear_buffer_dirty(bh);
|
||||||
__jbd2_journal_file_buffer(jh, transaction, BJ_Forget);
|
__jbd2_journal_file_buffer(jh, transaction, BJ_Forget);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue