Btrfs: cleanup scrub bio and worker wait code
authorStefan Behrens <sbehrens@giantdisaster.de>
Fri, 2 Nov 2012 15:44:58 +0000 (16:44 +0100)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:32 +0000 (17:15 -0500)
commitb6bfebc13218f1fc1502041a810919d3a81b8b4e
tree65b6daaa1395fbae0d2e7aee5cb94d54974af5c7
parent34f5c8e90b3f002672cd6b4e6e7c5b959fd981ae
Btrfs: cleanup scrub bio and worker wait code

Just move some code into functions to make everything more readable.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/scrub.c