From: Matthew Wilcox (Oracle) Date: Tue, 24 Dec 2024 21:18:40 +0000 (-0500) Subject: ocfs2: Remove reference to bh->b_page X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cb0b74ee2de72e20ccca16368528c4dfd36a6a2d;p=users%2Fwilly%2Fpagecache.git ocfs2: 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) --- diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c index 15d9acd456ecc..e85b1ccf81be0 100644 --- a/fs/ocfs2/quota_global.c +++ b/fs/ocfs2/quota_global.c @@ -273,7 +273,7 @@ ssize_t ocfs2_quota_write(struct super_block *sb, int type, if (new) memset(bh->b_data, 0, sb->s_blocksize); memcpy(bh->b_data + offset, data, len); - flush_dcache_page(bh->b_page); + flush_dcache_folio(bh->b_folio); set_buffer_uptodate(bh); unlock_buffer(bh); ocfs2_set_buffer_uptodate(INODE_CACHE(gqinode), bh);