Btrfs: creating the subvolume qgroup automatically when enabling quota
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sun, 7 Apr 2013 10:24:57 +0000 (10:24 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:37 +0000 (15:54 -0400)
commit7708f029dca5f1b9e9d6ea01ab10cd83e4c74ff2
treebcaa238c4e7f5ccb19382fb1035aba79a69b6a4f
parentd4e3991b9945906528c7abb627d759ea43f53bce
Btrfs: creating the subvolume qgroup automatically when enabling quota

Creating the subvolume/snapshots(including root subvolume) qgroup
auotomatically when enabling quota.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Reviewed-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.c
fs/btrfs/qgroup.c