]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b38a6817c37272240f6ac71740cac9d9640fb9e
treef9397bbd80ead3d9afc93039fb72d1c25cc53270
parentb4ff01c5661857351de404835fe19274fb7930d1
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