I''ve had some corrupted filesystems that failed to balance and to remove devices. It was slightly annoying that btrfs would exit with a nonzero status, but no information about the error was logged anywhere. This patch introduces some error reporting, catching the one error I was running into: -ENOENT looking for a backref, presumably because outdated metadata that ended up being used as if it was still live. I ended up losing the filesystem before I could figure out what exactly the problem was, but with this info it would hopefully not take as long to track it down. -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer