Skip to content

Commit ef51934

Browse files
Matthew Wilcox (Oracle)jankara
authored andcommitted
ext2: Remove reference to bh->b_page
Buffer heads are attached to folios, not to pages. Also flush_dcache_page() is now deprecated in favour of flush_dcache_folio(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/20250213182045.2131356-1-willy@infradead.org
1 parent 81a82e8 commit ef51934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext2/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ static ssize_t ext2_quota_write(struct super_block *sb, int type,
15561556
}
15571557
lock_buffer(bh);
15581558
memcpy(bh->b_data+offset, data, tocopy);
1559-
flush_dcache_page(bh->b_page);
1559+
flush_dcache_folio(bh->b_folio);
15601560
set_buffer_uptodate(bh);
15611561
mark_buffer_dirty(bh);
15621562
unlock_buffer(bh);

0 commit comments

Comments
 (0)