]> 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)
commit8ecb780e7371e16ca3283982b2c5534f150619b4
treedef46e7916335d91c3a70a55d5edcdb5148101b3
parent746901f26d949d70431a523e239b2d21870c8406
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