btrfs: breakout empty head cleanup to a helper
authorJosef Bacik <josef@toxicpanda.com>
Fri, 29 Sep 2017 19:43:54 +0000 (15:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:00 +0000 (12:28 +0100)
commitd603c4761069c84c3506ba091a0295e50eb8d63c
tree7e8503565d76b2d4b84f930c09f50b369baa7bb5
parent23b8b0c71d57be3c7a875ab16a15e999864b725d
btrfs: breakout empty head cleanup to a helper

Move this code out to a helper function to further simplivy
__btrfs_run_delayed_refs.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c