diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-07-18 09:45:41 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 14:12:53 +0300 |
commit | a937742250199a37358a4da0a990744b92c8623c (patch) | |
tree | 229f7df2b04a00530fc9872a77ad9e52a8a7cfa6 /fs/btrfs/ioctl.c | |
parent | 280f8bd2cbe0b4b578c217b8fa504294c30abde1 (diff) | |
download | linux-a937742250199a37358a4da0a990744b92c8623c.tar.xz |
btrfs: qgroup: Drop fs_info parameter from btrfs_qgroup_inherit
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/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index d0096383ac3d..4482cf35522e 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -601,7 +601,7 @@ static noinline int create_subvol(struct inode *dir, trans->block_rsv = &block_rsv; trans->bytes_reserved = block_rsv.size; - ret = btrfs_qgroup_inherit(trans, fs_info, 0, objectid, inherit); + ret = btrfs_qgroup_inherit(trans, 0, objectid, inherit); if (ret) goto fail; |