diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-08-01 06:32:27 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 14:13:00 +0300 |
commit | ab9ce7d42bf66f0750a4ca4a228a2db238376afb (patch) | |
tree | 323f06a936bec590bf2b69ccfe56bc6588c2599a /fs/btrfs/free-space-tree.c | |
parent | 9add29457ac124e846cde4b875c632edaa722c08 (diff) | |
download | linux-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.tar.xz |
btrfs: Remove fs_info from btrfs_del_root
It can be referenced from the passed transaction handle.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-tree.c')
-rw-r--r-- | fs/btrfs/free-space-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c index b5950aacd697..d6736595ec57 100644 --- a/fs/btrfs/free-space-tree.c +++ b/fs/btrfs/free-space-tree.c @@ -1236,7 +1236,7 @@ int btrfs_clear_free_space_tree(struct btrfs_fs_info *fs_info) if (ret) goto abort; - ret = btrfs_del_root(trans, fs_info, &free_space_root->root_key); + ret = btrfs_del_root(trans, &free_space_root->root_key); if (ret) goto abort; |