btrfs: factor btrfs_read_roots() out of open_ctree()
authorEric Sandeen <sandeen@redhat.com>
Fri, 1 Aug 2014 23:12:45 +0000 (18:12 -0500)
committerDavid Sterba <dsterba@suse.cz>
Mon, 16 Feb 2015 17:48:46 +0000 (18:48 +0100)
Also, remove the two local variables create_uuid_tree
and check_uuid_tree; we can use the existence of
the uuid root and/or the RESCAN_UUID_TREE flag to
determine what action to take.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/disk-io.c

Simple merge