Skip to content

Commit

Permalink
jbd2: Correct stale comment of release_buffer_page
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kemeng Shi authored and Theodore Ts'o committed Mar 13, 2025
1 parent da58033 commit fd3b3d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/jbd2/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit fd3b3d7

Please sign in to comment.