diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-10-11 13:40:35 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-15 17:23:41 +0200 |
commit | af9b8a0e2085fc90dca85acd85ee83ece7c05130 (patch) | |
tree | b581f8d45652eb3639d7e8a7396897db2d638b6f /fs/btrfs/ctree.h | |
parent | 9e920a6f03e40b1eb712f38b29ad5880153754e2 (diff) | |
download | linux-stable-af9b8a0e2085fc90dca85acd85ee83ece7c05130.tar.gz linux-stable-af9b8a0e2085fc90dca85acd85ee83ece7c05130.tar.bz2 linux-stable-af9b8a0e2085fc90dca85acd85ee83ece7c05130.zip |
btrfs: remove fs_info from btrfs_check_space_for_delayed_refs
It can be referenced from the transaction handle.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 15c659f23411..4002c9fd924b 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2600,8 +2600,7 @@ static inline u64 btrfs_calc_trunc_metadata_size(struct btrfs_fs_info *fs_info, int btrfs_should_throttle_delayed_refs(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info); -int btrfs_check_space_for_delayed_refs(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info); +int btrfs_check_space_for_delayed_refs(struct btrfs_trans_handle *trans); void btrfs_dec_block_group_reservations(struct btrfs_fs_info *fs_info, const u64 start); void btrfs_wait_block_group_reservations(struct btrfs_block_group_cache *bg); |