summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 13:51:56 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:41 +0200
commitfe04153452a6305ddaab056f4fa412c142a6f955 (patch)
tree97fd4668f83afc3d5797f8ebefb7268f946a5983 /fs/btrfs/free-space-cache.h
parent4ca75f1bd413ec0c550f925c009a7ba1b20e6003 (diff)
downloadlinux-fe04153452a6305ddaab056f4fa412c142a6f955.tar.gz
linux-fe04153452a6305ddaab056f4fa412c142a6f955.tar.bz2
linux-fe04153452a6305ddaab056f4fa412c142a6f955.zip
btrfs: get fs_info from trans in btrfs_write_out_cache
We can read fs_info from the transaction and can drop it from the parameters. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.h')
-rw-r--r--fs/btrfs/free-space-cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/free-space-cache.h b/fs/btrfs/free-space-cache.h
index 4f0d26ccfde6..b3a4fce7946a 100644
--- a/fs/btrfs/free-space-cache.h
+++ b/fs/btrfs/free-space-cache.h
@@ -55,8 +55,7 @@ int load_free_space_cache(struct btrfs_fs_info *fs_info,
int btrfs_wait_cache_io(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path);
-int btrfs_write_out_cache(struct btrfs_fs_info *fs_info,
- struct btrfs_trans_handle *trans,
+int btrfs_write_out_cache(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path);
struct inode *lookup_free_ino_inode(struct btrfs_root *root,