diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-04-12 16:59:57 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-06-10 09:25:28 -0700 |
commit | 823ae5b8e340003dacbe7cd08a355efe018c9f1b (patch) | |
tree | efc852b58959ab5f163078708a14064e0c8cbbd2 /fs/btrfs/transaction.c | |
parent | d810ef2be5b8b15c9b6f88f9a09b1b4b16e30871 (diff) |
btrfs: qgroup: Add function qgroup_update_counters().
Add function qgroup_update_counters(), which will update related
qgroups' rfer/excl according to old/new_roots.
This is one of the two core functions for the new qgroup implement.
This is based on btrfs_adjust_coutners() but with clearer logic and
comment.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions