mirror of https://github.com/torvalds/linux.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(). 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>
This commit is contained in:
parent
dbc3b6320e
commit
bd0ee47da4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue