commit | d810ef2be5b8b15c9b6f88f9a09b1b4b16e30871 | [log] [tgz] |
---|---|---|
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | Sun Apr 12 16:52:34 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jun 10 09:25:24 2015 -0700 |
tree | fbcfdbe9d7fadc5abcc6dbcc173ca3568a11d681 | |
parent | c682f9b3c2e091f3211ca68585be39f2a2beb8d0 [diff] |
btrfs: qgroup: Add function qgroup_update_refcnt(). This function is used to update refcnt for qgroups. And is one of the two core functions used in the new qgroup implement. This is based on the old update_old/new_refcnt, but provides a unified logic and behavior. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>