Btrfs: split btrfs_qgroup_account_ref into four functions
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 25 Apr 2013 16:04:50 +0000 (16:04 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:55:18 +0000 (15:55 -0400)
commit46b665ceb1edd2ac149ff701313c115f52dc0348
treef9397bbd80ead3d9afc93039fb72d1c25cc53270
parent3c76cd84e0c0d3ceb094a1020f8c55c2417e18d3
Btrfs: split btrfs_qgroup_account_ref into four functions

The function is separated into a preparation part and the three accounting
steps mentioned in the qgroups documentation. The goal is to make steps two
and three usable by the rescan functionality. A side effect is that the
function is restructured into readable subunits.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/qgroup.c