Btrfs: deal with io_tree->mapping being NULL
authorJosef Bacik <jbacik@fb.com>
Fri, 13 Dec 2013 15:02:44 +0000 (10:02 -0500)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:54 +0000 (13:19 -0800)
I need to add infrastructure to allocate dummy extent buffers for running sanity
tests, and to do this I need to not have to worry about having an
address_mapping for an io_tree, so just fix up the places where we assume that
all io_tree's have a non-NULL ->mapping.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c

Simple merge