aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 06:29:46 -0400
committerDavid Sterba <dsterba@suse.com>2019-04-29 13:02:51 -0400
commit5c5aff98f83abca23b70ac84c8019b28fcd70cdd (patch)
tree6d02e24c032f2be54499327fba000da3c4ab9552
parent033774dc5a90dad5cceb9298fa7517a48ad9cd20 (diff)
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.c5
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:
4510 * In this case, the first extent range will be cached but not emitted. 4510 * In this case, the first extent range will be cached but not emitted.
4511 * So we must emit it before ending extent_fiemap(). 4511 * So we must emit it before ending extent_fiemap().
4512 */ 4512 */
4513static int emit_last_fiemap_cache(struct btrfs_fs_info *fs_info, 4513static int emit_last_fiemap_cache(struct fiemap_extent_info *fieinfo,
4514 struct fiemap_extent_info *fieinfo,
4515 struct fiemap_cache *cache) 4514 struct fiemap_cache *cache)
4516{ 4515{
4517 int ret; 4516 int ret;
@@ -4718,7 +4717,7 @@ int extent_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
4718 } 4717 }
4719out_free: 4718out_free:
4720 if (!ret) 4719 if (!ret)
4721 ret = emit_last_fiemap_cache(root->fs_info, fieinfo, &cache); 4720 ret = emit_last_fiemap_cache(fieinfo, &cache);
4722 free_extent_map(em); 4721 free_extent_map(em);
4723out: 4722out:
4724 btrfs_free_path(path); 4723 btrfs_free_path(path);