commit | 508794eb5ec2a2b832742e78c6766844b10c0c94 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Sat Jul 02 21:24:41 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Jul 06 18:46:43 2011 -0400 |
tree | 3ee4f10297e5e99aa1092c3f82d68ea8543a9dba | |
parent | 0942caa373c676dca614ea8352ac77e0270aba73 [diff] |
Btrfs: don't panic if we get an error while balancing V2 A user reported an error where if we try to balance an fs after a device has been removed it will blow up. This is because we get an EIO back and this is where BUG_ON(ret) bites us in the ass. To fix we just exit. Thanks, Reported-by: Anand Jain <Anand.Jain@oracle.com> Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>