]> 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)
commit264e8f29e6a4b55981fa9c20bd006687e514ac6c
treefbcfdbe9d7fadc5abcc6dbcc173ca3568a11d681
parent0d5c50880d537746bd5dad54a3e22a04adfc5baa
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