Btrfs: use helper to cleanup tree roots
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 14 Mar 2013 14:58:05 +0000 (14:58 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:54:17 +0000 (15:54 -0400)
commitbe283b2e674a09457d4563729015adb637ce7cc1
tree22cbd81154d3b5cd87fbe5c182b76369f4e8c094
parentb0496686ba0da69cfd2433ef55fb2d1dc7465084
Btrfs: use helper to cleanup tree roots

free_root_pointers() has been introduced to cleanup all of tree roots,
so just use it instead.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c