From: Kemeng Shi Date: Thu, 23 Jan 2025 15:50:14 +0000 (+0800) Subject: jbd2: Correct stale comment of release_buffer_page X-Git-Tag: io_uring-6.15-20250403~67^2~27 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fd3b3d7f51e628f54329738e736a154f6929daab;p=linux-block.git jbd2: Correct stale comment of release_buffer_page Update stale lock info in comment of release_buffer_page. Signed-off-by: Kemeng Shi Reviewed-by: Jan Kara Reviewed-by: Zhang Yi Link: https://patch.msgid.link/20250123155014.2097920-7-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o --- diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index b7a76ec1463d..1c7c49356878 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -57,8 +57,8 @@ static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) * So here, we have a buffer which has just come off the forget list. Look to * see if we can strip all buffers from the backing page. * - * Called under lock_journal(), and possibly under journal_datalist_lock. The - * caller provided us with a ref against the buffer, and we drop that here. + * Called under j_list_lock. The caller provided us with a ref against the + * buffer, and we drop that here. */ static void release_buffer_page(struct buffer_head *bh) {