]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: qgroup: Add function qgroup_update_refcnt().
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Sun, 12 Apr 2015 08:52:34 +0000 (16:52 +0800)
committerChris Mason <clm@fb.com>
Wed, 10 Jun 2015 16:25:24 +0000 (09:25 -0700)
commit80c8a82bd4f4cc228d40efe446373c08d6312ba9
treefbcfdbe9d7fadc5abcc6dbcc173ca3568a11d681
parent378096dee0807ad02b8ca8d4643549c7154ae9cb
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>
fs/btrfs/qgroup.c