]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit009dbd93482da98bf9d41dde8c5c29b00085e3a5
treedef46e7916335d91c3a70a55d5edcdb5148101b3
parent4c5c2c9d92040601ae79dc405dba83e30c7e7a98
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