]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita5dee37d390f3713f06e286a33b262f0fdb2b0ff
treeb8d97aa8300cca3658f0238085d4d13433ba83be
parent2ef1fed285d58e77ce777d9a525fed4788b5a6d0
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