From: Zhang Yi <yi.zhang@huaweicloud.com>
To: Kemeng Shi <shikemeng@huaweicloud.com>
Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org,
tytso@mit.edu, jack@suse.com
Subject: Re: [PATCH 5/6] jbd2: correct stale function name in comment
Date: Wed, 8 Jan 2025 11:22:26 +0800 [thread overview]
Message-ID: <4136cb23-a18a-4a45-8096-8ded6cf03d4a@huaweicloud.com> (raw)
In-Reply-To: <20241224202707.1530558-6-shikemeng@huaweicloud.com>
On 2024/12/25 4:27, Kemeng Shi wrote:
> 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>
Looks good to me.
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
> ---
> fs/jbd2/revoke.c | 8 ++++----
> fs/jbd2/transaction.c | 2 +-
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/fs/jbd2/revoke.c b/fs/jbd2/revoke.c
> index af0208ed3619..5b7350109c5a 100644
> --- a/fs/jbd2/revoke.c
> +++ b/fs/jbd2/revoke.c
> @@ -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
> * 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
> - * we do not want to suspend any processing until all revokes are
> - * written -bzzz
> +/* jbd2_journal_switch_revoke_table table select j_revoke for next
> + * transaction we do not want to suspend any processing until all
> + * revokes are written -bzzz
> */
> void jbd2_journal_switch_revoke_table(journal_t *journal)
> {
> diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
> index e00b87635512..908baf73b188 100644
> --- a/fs/jbd2/transaction.c
> +++ b/fs/jbd2/transaction.c
> @@ -2191,7 +2191,7 @@ static int __dispose_buffer(struct journal_head *jh, transaction_t *transaction)
> /*
> * We don't want to write the buffer anymore, clear the
> * bit so that we don't confuse checks in
> - * __journal_file_buffer
> + * __jbd2_journal_file_buffer
> */
> clear_buffer_dirty(bh);
> __jbd2_journal_file_buffer(jh, transaction, BJ_Forget);
next prev parent reply other threads:[~2025-01-08 3:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-24 20:27 [PATCH 0/6] Minor cleanups to jbd2 Kemeng Shi
2024-12-24 20:27 ` [PATCH 1/6] jbd2: remove unused h_jdata flag of handle Kemeng Shi
2025-01-03 14:35 ` Jan Kara
2025-01-08 2:39 ` Zhang Yi
2024-12-24 20:27 ` [PATCH 2/6] jbd2: remove unused return value of jbd2_journal_cancel_revoke Kemeng Shi
2025-01-03 14:37 ` Jan Kara
2025-01-08 2:43 ` Zhang Yi
2024-12-24 20:27 ` [PATCH 3/6] jbd2: remove unused return value of do_readahead Kemeng Shi
2025-01-03 14:39 ` Jan Kara
2025-01-08 2:46 ` Zhang Yi
2024-12-24 20:27 ` [PATCH 4/6] jbd2: remove stale comment of update_t_max_wait Kemeng Shi
2025-01-03 14:39 ` Jan Kara
2025-01-08 3:12 ` Zhang Yi
2024-12-24 20:27 ` [PATCH 5/6] jbd2: correct stale function name in comment Kemeng Shi
2025-01-03 14:36 ` Jan Kara
2025-01-08 3:22 ` Zhang Yi [this message]
2024-12-24 20:27 ` [PATCH 6/6] jbd2: Correct stale comment of release_buffer_page Kemeng Shi
2025-01-03 14:44 ` Jan Kara
2025-01-08 3:27 ` Zhang Yi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4136cb23-a18a-4a45-8096-8ded6cf03d4a@huaweicloud.com \
--to=yi.zhang@huaweicloud.com \
--cc=jack@suse.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shikemeng@huaweicloud.com \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®