btrfs: find_and_setup_root error push-up
authorJeff Mahoney <jeffm@suse.com>
Tue, 4 Oct 2011 03:22:43 +0000 (23:22 -0400)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:32 +0000 (01:45 +0100)
find_and_setup_root BUGs when it encounters an error from
btrfs_find_last_root, which can occur if a path can't be allocated.

This patch pushes it up to its callers where it is already handled.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
fs/btrfs/disk-io.c

Simple merge