summaryrefslogtreecommitdiff
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-13 21:23:01 +0300
committerTheodore Ts'o <tytso@mit.edu>2025-03-18 07:15:25 +0300
commit08be56fec0588972f6fd4a3ce4ced3265de43dd8 (patch)
tree2537904d7e337c87abb44cb3d78d59188fd7bc96 /fs/ext4/inode.c
parent7e91ae31e2d264155dfd102101afc2de7bd74a64 (diff)
downloadlinux-08be56fec0588972f6fd4a3ce4ced3265de43dd8.tar.xz
ext4: remove references 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) <willy@infradead.org> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/20250213182303.2133205-1-willy@infradead.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index f5c6937c2ebc..aede80fa1781 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -752,7 +752,7 @@ static void ext4_update_bh_state(struct buffer_head *bh, unsigned long flags)
flags &= EXT4_MAP_FLAGS;
/* Dummy buffer_head? Set non-atomically. */
- if (!bh->b_page) {
+ if (!bh->b_folio) {
bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags;
return;
}