btrfs: qgroup: Drop root parameter from btrfs_qgroup_trace_subtree

The fs_info can be fetched from the transaction handle directly.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Lu Fengqi
2018-07-18 14:45:38 +08:00
committed by David Sterba
parent 8d38d7eb7b
commit deb4062743
4 changed files with 4 additions and 7 deletions

View File

@@ -8660,7 +8660,7 @@ skip:
}
if (need_account) {
ret = btrfs_qgroup_trace_subtree(trans, root, next,
ret = btrfs_qgroup_trace_subtree(trans, next,
generation, level - 1);
if (ret) {
btrfs_err_rl(fs_info,