btrfs: Don't BUG_ON errors in __finish_chunk_alloc()
authorMark Fasheh <mfasheh@suse.com>
Wed, 10 Aug 2011 19:32:10 +0000 (12:32 -0700)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:37 +0000 (01:45 +0100)
All callers of __finish_chunk_alloc() BUG_ON() return value, so it's trivial
for us to always bubble up any errors caught in __finish_chunk_alloc() to be
caught there.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
fs/btrfs/volumes.c

Simple merge