btrfs: avoid NULL deref in btrfs_reserve_extent with DEBUG_ENOSPC

__find_space_info can return NULL but we don't check it before calling
 dump_space_info().

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
Jeff Mahoney 2012-03-01 14:56:28 +01:00 • committed by David Sterba
commit 538042801a