btrfs: make btrfs_add_ordered_extent_compress take btrfs_inode

It simpy forwards its inode argument to __btrfs_add_ordered_extent which
already takes btrfs_inode.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Nikolay Borisov
2020-06-03 08:55:15 +03:00
committed by David Sterba
parent 6e26c44223
commit 4cc612090b
3 changed files with 4 additions and 4 deletions

View File

@@ -862,7 +862,7 @@ retry:
goto out_free_reserve;
free_extent_map(em);
ret = btrfs_add_ordered_extent_compress(inode,
ret = btrfs_add_ordered_extent_compress(BTRFS_I(inode),
async_extent->start,
ins.objectid,
async_extent->ram_size,