aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>2018-08-01 11:32:27 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:13:00 +0200
commitab9ce7d42bf66f0750a4ca4a228a2db238376afb (patch)
tree323f06a936bec590bf2b69ccfe56bc6588c2599a /fs/btrfs/qgroup.c
parentbtrfs: Remove fs_info from btrfs_delete_delayed_dir_index (diff)
downloadlinux-dev-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.tar.xz
linux-dev-ab9ce7d42bf66f0750a4ca4a228a2db238376afb.zip
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/qgroup.c')
-rw-r--r--fs/btrfs/qgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index e11ed7b3f32a..4353bb69bb86 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -1088,7 +1088,7 @@ int btrfs_quota_disable(struct btrfs_fs_info *fs_info)
goto end_trans;
}
- ret = btrfs_del_root(trans, fs_info, &quota_root->root_key);
+ ret = btrfs_del_root(trans, &quota_root->root_key);
if (ret) {
btrfs_abort_transaction(trans, ret);
goto end_trans;