]> www.infradead.org Git - users/willy/pagecache.git/commitdiff
ext2: Remove reference to bh->b_page
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 24 Dec 2024 21:18:40 +0000 (16:18 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 13 Feb 2025 21:43:54 +0000 (16:43 -0500)
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>
fs/ext2/super.c

index 37f7ce56adce7b75a43ee67dc9bdb9ee88a21910..21bea926e0eea83da2809e4c158e7334b9457f9a 100644 (file)
@@ -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);