Btrfs-progs: handle errors reading fs roots
authorJosef Bacik <jbacik@fusionio.com>
Fri, 1 Feb 2013 20:17:07 +0000 (15:17 -0500)
committerDavid Sterba <dsterba@suse.cz>
Thu, 7 Feb 2013 00:19:49 +0000 (01:19 +0100)
commit6cba7b1b465530fd754925c35eedbd4794fce1b9
tree81870e7bdcc148bcc79f7023497d9a9d2cffc9ae
parent5e7b9d21562cce068079354d28aaf7cd1fc372d7
Btrfs-progs: handle errors reading fs roots

A user had a problem where btrfsck would bail out because it was finding
extents for a snapshot that had been deleted but not entirely cleaned up.
We can handle this case fine, we just need to report an error properly.
This patch allowed btrfsck to continue and eventually fix his file system.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
btrfsck.c