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)
commit4ed1d16e944c61cfb8a78159548672e7df168d97
tree720c4087a8a79729701eb27a87b11518d0807a8f
parent0678b61851b510ba68341dff59cd9b47e1712e91
btrfs: Don't BUG_ON errors in __finish_chunk_alloc()

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