Skip to content

Commit fd3b3d7

Browse files
Kemeng Shitytso
authored andcommitted
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]>
1 parent da58033 commit fd3b3d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/jbd2/commit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate)
5757
* So here, we have a buffer which has just come off the forget list. Look to
5858
* see if we can strip all buffers from the backing page.
5959
*
60-
* Called under lock_journal(), and possibly under journal_datalist_lock. The
61-
* caller provided us with a ref against the buffer, and we drop that here.
60+
* Called under j_list_lock. The caller provided us with a ref against the
61+
* buffer, and we drop that here.
6262
*/
6363
static void release_buffer_page(struct buffer_head *bh)
6464
{

0 commit comments

Comments
 (0)