btrfs: qgroup: inherit limit info from srcgroup in creating snapshot.
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Fri, 21 Nov 2014 01:14:38 +0000 (20:14 -0500)
committerChris Mason <clm@fb.com>
Mon, 13 Apr 2015 14:52:38 +0000 (07:52 -0700)
commit3eeb4d597efc9e068902057f1bd040cffc69e9e6
treedef46e7916335d91c3a70a55d5edcdb5148101b3
parentc99f1b0c6c45d1621f08afb1352689e24a627844
btrfs: qgroup: inherit limit info from srcgroup in creating snapshot.

Currently, when we snapshot a subvol, snapshot will not copy the limits
from srcqgroup.

This patch make the qgroup in snapshot inherit the limit info when create
a snapshot.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/qgroup.c