Use the new iomap support to implement bmap. Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> --- fs/jfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index 63690020cc46..19c091d9c20e 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c @@ -365,7 +365,7 @@ static int jfs_write_begin(struct file *file, struct address_space *mapping, static sector_t jfs_bmap(struct address_space *mapping, sector_t block) { - return generic_block_bmap(mapping, block, jfs_get_block); + return iomap_bmap(mapping, block, &jfs_iomap_ops); } const struct address_space_operations jfs_aops = { -- 2.34.1