]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf48ae074753601301b5859d229a61a526bc669cf
treeb8d97aa8300cca3658f0238085d4d13433ba83be
parentc870f8d3ed66922134b6c98af2c84f0f6f919527
Btrfs: deal with io_tree->mapping being NULL

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