From: Josef Bacik Date: Sat, 2 Jul 2011 21:24:41 +0000 (+0000) Subject: Btrfs: don't panic if we get an error while balancing V2 X-Git-Tag: v3.0-rc7~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=508794eb5ec2a2b832742e78c6766844b10c0c94;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed