]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
btrfs: qgroup: Switch rescan to new mechanism.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 13 Apr 2015 03:02:16 +0000 (11:02 +0800)
committerChris Mason <clm@fb.com>
Wed, 10 Jun 2015 16:25:54 +0000 (09:25 -0700)
commit9d220c95f5191f6e99fbb992d5f36a929d3fc432
tree5e95f0958a90f38f6c7f50bdd78e6baa59a9dd20
parent550d7a2ed5db35756222ec17cff3376ff38d78e2
btrfs: qgroup: Switch rescan to new mechanism.

Switch rescan to use the new new extent oriented mechanism.

As rescan is also based on extent, new mechanism is just a perfect match
for rescan.

With re-designed internal functions, rescan is quite easy, just call
btrfs_find_all_roots() and then btrfs_qgroup_account_one_extent().

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/qgroup.c