Re: [PATCH] Btrfs: do not ignore errors from btrfs_cleanup_fs_roots() when mounting

2012-06-25 Thread David Sterba
On Fri, Jun 22, 2012 at 09:14:13PM +0300, Ilya Dryomov wrote: > There used to be a BUG_ON(ret) there before EH patch (79787eaa) went in. > Bail out with EINVAL. > > Cc: David Sterba > Signed-off-by: Ilya Dryomov > --- > fs/btrfs/disk-io.c |4 ++-- > 1 files changed, 2 insertions(+), 2 delet

[PATCH] Btrfs: do not ignore errors from btrfs_cleanup_fs_roots() when mounting

2012-06-22 Thread Ilya Dryomov
There used to be a BUG_ON(ret) there before EH patch (79787eaa) went in. Bail out with EINVAL. Cc: David Sterba Signed-off-by: Ilya Dryomov --- fs/btrfs/disk-io.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index f06db81..7