diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index db3ba140351e..07ca260b30ab 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -3212,7 +3212,7 @@ static sector_t ext4_bmap(struct address_space *mapping, sector_t block) return 0; } - return generic_block_bmap(mapping, block, ext4_get_block); + return iomap_bmap(mapping, block, &ext4_iomap_ops); } static int ext4_readpage(struct file *file, struct page *page)