summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 13:42:57 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:41 +0200
commit4ca75f1bd413ec0c550f925c009a7ba1b20e6003 (patch)
treecdb92a77321e5fcfedeef45fb7dca7a51d92361d /fs/btrfs/free-space-cache.h
parentbtrfs: get fs_info from trans in btrfs_set_log_full_commit (diff)
downloadlinux-4ca75f1bd413ec0c550f925c009a7ba1b20e6003.tar.xz
linux-4ca75f1bd413ec0c550f925c009a7ba1b20e6003.zip
btrfs: get fs_info from trans in create_free_space_inode
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 15e30b93db0d..4f0d26ccfde6 100644
--- a/fs/btrfs/free-space-cache.h
+++ b/fs/btrfs/free-space-cache.h
@@ -41,8 +41,7 @@ struct btrfs_io_ctl;
struct inode *lookup_free_space_inode(struct btrfs_fs_info *fs_info,
struct btrfs_block_group_cache
*block_group, struct btrfs_path *path);
-int create_free_space_inode(struct btrfs_fs_info *fs_info,
- struct btrfs_trans_handle *trans,
+int create_free_space_inode(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path);