diff options
author | Qu Wenruo <wqu@suse.com> | 2017-12-12 15:34:30 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:41:14 +0200 |
commit | e1211d0e896b71d395fe411d0e0a76f4bc336617 (patch) | |
tree | b5d5ea48f7d930f8b73fcaed6d6438e0378e12e2 /fs/btrfs/disk-io.c | |
parent | 733e03a0b26a463d75aa86083c9fab856571e7fc (diff) | |
download | blackbird-op-linux-e1211d0e896b71d395fe411d0e0a76f4bc336617.tar.gz blackbird-op-linux-e1211d0e896b71d395fe411d0e0a76f4bc336617.zip |
btrfs: qgroup: Don't use root->qgroup_meta_rsv for qgroup
Since qgroup has seperate metadata reservation types now, we can
completely get rid of the old root->qgroup_meta_rsv, which mostly acts
as current META_PERTRANS reservation type.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 38b387ae78f8..ad900f821f1e 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -1163,7 +1163,6 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info, atomic_set(&root->orphan_inodes, 0); refcount_set(&root->refs, 1); atomic_set(&root->will_be_snapshotted, 0); - atomic64_set(&root->qgroup_meta_rsv, 0); root->log_transid = 0; root->log_transid_committed = -1; root->last_log_commit = 0; |