summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2017-12-12 08:34:30 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:41:14 +0200
commite1211d0e896b71d395fe411d0e0a76f4bc336617 (patch)
treeb5d5ea48f7d930f8b73fcaed6d6438e0378e12e2 /fs/btrfs/ctree.h
parentbtrfs: qgroup: Split meta rsv type into meta_prealloc and meta_pertrans (diff)
downloadlinux-e1211d0e896b71d395fe411d0e0a76f4bc336617.tar.xz
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/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index f9f512be9d41..df0463e2ab7f 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1264,9 +1264,6 @@ struct btrfs_root {
int send_in_progress;
struct btrfs_subvolume_writers *subv_writers;
atomic_t will_be_snapshotted;
-
- /* For qgroup metadata space reserve */
- atomic64_t qgroup_meta_rsv;
};
struct btrfs_file_private {