btrfs: get fs_info from trans in btrfs_write_out_cache
[sfrench/cifs-2.6.git] / fs / btrfs / free-space-cache.h
index 15e30b93db0d82e4d03c27d8713ad77aefd35af5..b3a4fce7946ad3eb135ba11dfb6b40dc43c89231 100644 (file)
@@ -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);
 
@@ -56,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,