From: Matthew Wilcox (Oracle) Date: Thu, 13 Feb 2025 18:20:43 +0000 (+0000) Subject: ext2: Remove reference to bh->b_page X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ef51934a05d3a223b040a23b6e78335f63f74083;p=users%2Fjedix%2Flinux-maple.git 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) Signed-off-by: Jan Kara Link: https://patch.msgid.link/20250213182045.2131356-1-willy@infradead.org --- diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 37f7ce56adce..21bea926e0ee 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -1556,7 +1556,7 @@ static ssize_t ext2_quota_write(struct super_block *sb, int type, } lock_buffer(bh); memcpy(bh->b_data+offset, data, tocopy); - flush_dcache_page(bh->b_page); + flush_dcache_folio(bh->b_folio); set_buffer_uptodate(bh); mark_buffer_dirty(bh); unlock_buffer(bh);