Skip to content

Commit 06f4613

Browse files
Matthew Wilcox (Oracle)kleikamp
authored andcommitted
jfs: 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) <[email protected]> Signed-off-by: Dave Kleikamp <[email protected]>
1 parent 3a823bc commit 06f4613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/jfs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ static ssize_t jfs_quota_write(struct super_block *sb, int type,
766766
}
767767
lock_buffer(bh);
768768
memcpy(bh->b_data+offset, data, tocopy);
769-
flush_dcache_page(bh->b_page);
769+
flush_dcache_folio(bh->b_folio);
770770
set_buffer_uptodate(bh);
771771
mark_buffer_dirty(bh);
772772
unlock_buffer(bh);

0 commit comments

Comments
 (0)