Btrfs: cleanup destroy_marked_extents
authorJosef Bacik <jbacik@fusionio.com>
Wed, 24 Apr 2013 20:41:19 +0000 (16:41 -0400)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:55:11 +0000 (15:55 -0400)
commitfd8b2b611580929ab1aa01e3942dce20f9e95732
tree54bbfbcb8551ecfb0c58f83e206a7512f268f758
parentabefa55ac1f8cb8fb8cb4d7e8d619dc0859181ab
Btrfs: cleanup destroy_marked_extents

We can just look up the extent_buffers for the range and free stuff that way.
This makes the cleanup a bit cleaner and we can make sure to evict the
extent_buffers pretty quickly by marking them as stale.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h