summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2025-01-23 23:50:14 +0800
committerTheodore Ts'o <tytso@mit.edu>2025-03-13 10:41:21 -0400
commitfd3b3d7f51e628f54329738e736a154f6929daab (patch)
tree5eeccaf2eedee145578e01000f43db517d31b339
parentda5803391e377a39d655d55b4ebf2e416f88a8d6 (diff)
downloadlinux-stable-fd3b3d7f51e628f54329738e736a154f6929daab.tar.gz
linux-stable-fd3b3d7f51e628f54329738e736a154f6929daab.tar.bz2
linux-stable-fd3b3d7f51e628f54329738e736a154f6929daab.zip
jbd2: Correct stale comment of release_buffer_page
Update stale lock info in comment of release_buffer_page. 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-7-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--fs/jbd2/commit.c4
1 files changed, 2 insertions, 2 deletions
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)
{