Btrfs-progs: don't fail on log tree opening with PARTIAL
authorJosef Bacik <jbacik@fb.com>
Fri, 31 Oct 2014 18:01:22 +0000 (14:01 -0400)
committerDavid Sterba <dsterba@suse.cz>
Fri, 14 Nov 2014 10:00:17 +0000 (11:00 +0100)
commit4fa068bcdb0e6714361b969367d6805fbeeba57d
treed641d139cb422e89f1a4add9a188505a3f0a4ed5
parent183a9d4537f8a3ca59a205479e8c112dc8f911a8
Btrfs-progs: don't fail on log tree opening with PARTIAL

We were failing to fsck a volume because we couldn't open the log tree, which is
not helpful.  Make us skip erroring out if we are using OPEN_CTREE_PARTIAL since
it isn't a mandatory tree.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
disk-io.c