diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-07-18 09:45:30 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 14:12:51 +0300 |
commit | 9f8a6ce6ba8ebeb86de59b1adfdc64087049f76f (patch) | |
tree | 051a360b1c1c6ac24e77e8803ab0485c5a3edd1f /fs/btrfs/qgroup.c | |
parent | 2e980acdd829742966c6a7e565ef3382c0717295 (diff) | |
download | linux-9f8a6ce6ba8ebeb86de59b1adfdc64087049f76f.tar.xz |
btrfs: qgroup: Drop fs_info parameter from btrfs_add_qgroup_relation
It can be fetched from the 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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index a7890183f20f..8b71aec85d84 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -1236,9 +1236,10 @@ out: return ret; } -int btrfs_add_qgroup_relation(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, u64 src, u64 dst) +int btrfs_add_qgroup_relation(struct btrfs_trans_handle *trans, u64 src, + u64 dst) { + struct btrfs_fs_info *fs_info = trans->fs_info; struct btrfs_root *quota_root; struct btrfs_qgroup *parent; struct btrfs_qgroup *member; |