btrfs: qgroup: update limit info in function btrfs_run_qgroups().
authorDongsheng Yang <yangds.fnst@cn.fujitsu.com>
Fri, 21 Nov 2014 02:04:56 +0000 (21:04 -0500)
committerChris Mason <clm@fb.com>
Mon, 13 Apr 2015 14:52:42 +0000 (07:52 -0700)
commitd3001ed3a82ec2696bb13c78092d0a3460003fd7
tree31b6c82488e64a6cf1d028b1267f16122dc5e451
parent1510e71c620c27ffc7540176a0689f70d6915e28
btrfs: qgroup: update limit info in function btrfs_run_qgroups().

When we commit_transaction(), qgroups in btree should be updated.
But, limit info is not considered currently. It will cause a problem
when a qgroup of a snapshot inherit the limit info from srcqgroup,
then there is an inconsistency.

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