diff options
author | Arne Jansen <sensille@gmx.net> | 2011-09-14 09:58:21 -0400 |
---|---|---|
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-07-12 04:54:40 -0400 |
commit | 6f72c7e20dbaea55f04546de69586c84a3654503 (patch) | |
tree | 4d8e13968765f4a4381a0fe91a4fb157128cbbc5 /fs/btrfs/transaction.h | |
parent | 5d13a37bd5327220e13329943d1228acfbe5934a (diff) |
Btrfs: add qgroup inheritance
When creating a subvolume or snapshot, it is necessary
to initialize the qgroup account with a copy of some
other (tracking) qgroup. This patch adds parameters
to the ioctls to pass the information from which qgroup
to inherit.
Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r-- | fs/btrfs/transaction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index 2759e0572c5c..cca315dcdfcd 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h | |||
@@ -73,6 +73,7 @@ struct btrfs_pending_snapshot { | |||
73 | struct dentry *dentry; | 73 | struct dentry *dentry; |
74 | struct btrfs_root *root; | 74 | struct btrfs_root *root; |
75 | struct btrfs_root *snap; | 75 | struct btrfs_root *snap; |
76 | struct btrfs_qgroup_inherit *inherit; | ||
76 | /* block reservation for the operation */ | 77 | /* block reservation for the operation */ |
77 | struct btrfs_block_rsv block_rsv; | 78 | struct btrfs_block_rsv block_rsv; |
78 | /* extra metadata reseration for relocation */ | 79 | /* extra metadata reseration for relocation */ |