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: NJeff Mahoney <jeffm@suse.com>
Showing
想要评论请 注册 或 登录
__find_space_info can return NULL but we don't check it before calling
dump_space_info().
Signed-off-by: NJeff Mahoney <jeffm@suse.com>