diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-10 15:44:46 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:34 +0200 |
commit | f3f7277995675d632a3e42144e1a4c9b0cc58d44 (patch) | |
tree | 8e4bb321c7299a1ad58eae3ec44d62d41fa2daa4 /fs/btrfs/tests | |
parent | 4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c (diff) | |
download | linux-stable-f3f7277995675d632a3e42144e1a4c9b0cc58d44.tar.gz linux-stable-f3f7277995675d632a3e42144e1a4c9b0cc58d44.tar.bz2 linux-stable-f3f7277995675d632a3e42144e1a4c9b0cc58d44.zip |
btrfs: Remove fs_info parameter from remove_block_group_free_space
This function always takes a trans handle which contains a reference to
the fs_info. Use that and remove the extra argument.
Signed-off-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/tests')
-rw-r--r-- | fs/btrfs/tests/free-space-tree-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/free-space-tree-tests.c b/fs/btrfs/tests/free-space-tree-tests.c index 6d2b8f736020..86955cf8c9be 100644 --- a/fs/btrfs/tests/free-space-tree-tests.c +++ b/fs/btrfs/tests/free-space-tree-tests.c @@ -510,7 +510,7 @@ static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, if (ret) goto out; - ret = remove_block_group_free_space(&trans, root->fs_info, cache); + ret = remove_block_group_free_space(&trans, cache); if (ret) { test_msg("Could not remove block group free space\n"); goto out; |