diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-10 15:44:41 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:33 +0200 |
commit | e4e0711cd96944b47aedf6204427e605674b5e22 (patch) | |
tree | 83c3d7d0430b50e9d786113402c8bec58ce80e1e /fs/btrfs/tests | |
parent | 483bce068ea79dde1d4586472759d70cc6ee34c4 (diff) | |
download | linux-stable-e4e0711cd96944b47aedf6204427e605674b5e22.tar.gz linux-stable-e4e0711cd96944b47aedf6204427e605674b5e22.tar.bz2 linux-stable-e4e0711cd96944b47aedf6204427e605674b5e22.zip |
btrfs: Remove fs_info argument from add_block_group_free_space
We also pass in a transaction handle which has a reference to the
fs_info. Just remove the extraneous 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 a24ead6ceb2b..f3dfd9fc762f 100644 --- a/fs/btrfs/tests/free-space-tree-tests.c +++ b/fs/btrfs/tests/free-space-tree-tests.c @@ -491,7 +491,7 @@ static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, goto out; } - ret = add_block_group_free_space(&trans, root->fs_info, cache); + ret = add_block_group_free_space(&trans, cache); if (ret) { test_msg("Could not add block group free space\n"); goto out; |