aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2025-01-23 15:50:14 +0000
committerTheodore Ts'o <[email protected]>2025-03-13 14:41:21 +0000
commitfd3b3d7f51e628f54329738e736a154f6929daab (patch)
tree5eeccaf2eedee145578e01000f43db517d31b339 /fs/jbd2/commit.c
parentjbd2: correct stale function name in comment (diff)
downloadkernel-fd3b3d7f51e628f54329738e736a154f6929daab.tar.gz
kernel-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 <[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]>
Diffstat (limited to 'fs/jbd2/commit.c')
-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)
{