Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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().

Link: https://lkml.kernel.org/r/20250213214533.2242224-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Mark Tinguely <mark.tinguely@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Matthew Wilcox (Oracle) and committed by
Andrew Morton
bd0ee47d dbc3b632

+1 -1
+1 -1
fs/ocfs2/quota_global.c
··· 273 273 if (new) 274 274 memset(bh->b_data, 0, sb->s_blocksize); 275 275 memcpy(bh->b_data + offset, data, len); 276 - flush_dcache_page(bh->b_page); 276 + flush_dcache_folio(bh->b_folio); 277 277 set_buffer_uptodate(bh); 278 278 unlock_buffer(bh); 279 279 ocfs2_set_buffer_uptodate(INODE_CACHE(gqinode), bh);