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)
commit4bbcaa648d23470f04285c52a27d87c8fe906203
tree22da036ecf497db699225752c1fffc542d7c08a3
parent63443bf54a746fada8ef2829148a29f28f07f7af
btrfs: factor btrfs_read_roots() out of open_ctree()

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