]> www.infradead.org Git - users/willy/pagecache.git/commitdiff
jfs: 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/jfs/super.c

index 223d9ac59839d54282f39974e021a206bcc9c315..4bb42de338659a143b86a47ea85df1e375f07488 100644 (file)
@@ -766,7 +766,7 @@ static ssize_t jfs_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);