]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05bf1ee59f80f3dfe1e9249709fbab5aaa091b8c
tree31b6c82488e64a6cf1d028b1267f16122dc5e451
parent25d07e347200a2925dc4f1715db867586af6e66d
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