Btrfs: do not ignore errors from btrfs_cleanup_fs_roots() when mounting
authorIlya Dryomov <idryomov@gmail.com>
Fri, 22 Jun 2012 18:14:13 +0000 (12:14 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 23 Jul 2012 20:27:53 +0000 (16:27 -0400)
commit44c44af2f4a6dc1595f1711cf307bd01062fd129
treeb20bfeeca76fd9396d0ddf9783d55344caa6d0c7
parentfed425c742cb1262ce90a41f2d3d211bac099533
Btrfs: do not ignore errors from btrfs_cleanup_fs_roots() when mounting

There used to be a BUG_ON(ret) there before EH patch (79787eaa) went in.
Bail out with EINVAL.

Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/disk-io.c