summaryrefslogtreecommitdiff
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-03-15 16:00:25 +0200
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:41:10 +0200
commit460fb20a4bba040d7a95629ef7a4e9b97bfdbb6e (patch)
treeb9ede50cf33250b60ad4c742a6fb1736a75402d4 /fs/btrfs/qgroup.c
parentc79a70b1330b374d6f4d88f266552054a4b58d08 (diff)
downloadlwn-460fb20a4bba040d7a95629ef7a4e9b97bfdbb6e.tar.gz
lwn-460fb20a4bba040d7a95629ef7a4e9b97bfdbb6e.zip
btrfs: Drop fs_info parameter from btrfs_qgroup_account_extents
It's provided by the transaction handle. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
-rw-r--r--fs/btrfs/qgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 0fa4f07b80b8..569f9ab65ceb 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -2014,9 +2014,9 @@ out_free:
return ret;
}
-int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans,
- struct btrfs_fs_info *fs_info)
+int btrfs_qgroup_account_extents(struct btrfs_trans_handle *trans)
{
+ struct btrfs_fs_info *fs_info = trans->fs_info;
struct btrfs_qgroup_extent_record *record;
struct btrfs_delayed_ref_root *delayed_refs;
struct ulist *new_roots = NULL;