Btrfs: add qgroup inheritance
authorArne Jansen <sensille@gmx.net>
Wed, 14 Sep 2011 13:58:21 +0000 (15:58 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 12 Jul 2012 08:54:40 +0000 (10:54 +0200)
commit6f72c7e20dbaea55f04546de69586c84a3654503
tree4d8e13968765f4a4381a0fe91a4fb157128cbbc5
parent5d13a37bd5327220e13329943d1228acfbe5934a
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>
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h
fs/btrfs/transaction.c
fs/btrfs/transaction.h