summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2011-09-13 15:23:30 +0200
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-07-12 10:54:38 +0200
commitbcef60f249034f69e89e544461cbfecb68975595 (patch)
tree5c87fae683428fc6b5576ac807f7f04b0c7268d5 /fs/btrfs/ctree.h
parentedf39272db4810282360f7362d43ade1d524c913 (diff)
downloadblackbird-obmc-linux-bcef60f249034f69e89e544461cbfecb68975595.tar.gz
blackbird-obmc-linux-bcef60f249034f69e89e544461cbfecb68975595.zip
Btrfs: quota tree support and startup
Init the quota tree along with the others on open_ctree and close_ctree. Add the quota tree to the list of well known trees in btrfs_read_fs_root_no_name. Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index ccba9b684c96..2ba03b96fbe0 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2967,6 +2967,7 @@ static inline void free_fs_info(struct btrfs_fs_info *fs_info)
kfree(fs_info->chunk_root);
kfree(fs_info->dev_root);
kfree(fs_info->csum_root);
+ kfree(fs_info->quota_root);
kfree(fs_info->super_copy);
kfree(fs_info->super_for_commit);
kfree(fs_info);
OpenPOWER on IntegriCloud