diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 11:29:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:51 +0200 |
commit | 5c5aff98f83abca23b70ac84c8019b28fcd70cdd (patch) | |
tree | 6d02e24c032f2be54499327fba000da3c4ab9552 | |
parent | 033774dc5a90dad5cceb9298fa7517a48ad9cd20 (diff) | |
download | linux-stable-5c5aff98f83abca23b70ac84c8019b28fcd70cdd.tar.gz linux-stable-5c5aff98f83abca23b70ac84c8019b28fcd70cdd.tar.bz2 linux-stable-5c5aff98f83abca23b70ac84c8019b28fcd70cdd.zip |
btrfs: remove unused parameter fs_info from emit_last_fiemap_cache
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/extent_io.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 9aa79ad794c9..13fca7bfc1f2 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4510,8 +4510,7 @@ try_submit_last: * In this case, the first extent range will be cached but not emitted. * So we must emit it before ending extent_fiemap(). */ -static int emit_last_fiemap_cache(struct btrfs_fs_info *fs_info, - struct fiemap_extent_info *fieinfo, +static int emit_last_fiemap_cache(struct fiemap_extent_info *fieinfo, struct fiemap_cache *cache) { int ret; @@ -4718,7 +4717,7 @@ int extent_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, } out_free: if (!ret) - ret = emit_last_fiemap_cache(root->fs_info, fieinfo, &cache); + ret = emit_last_fiemap_cache(fieinfo, &cache); free_extent_map(em); out: btrfs_free_path(path); |