]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit636404f10fb273c4e8449115f9db0c9ff0034405
tree720c4087a8a79729701eb27a87b11518d0807a8f
parente311f0373579eb4cbf670f6b9f98a6c4b64df711
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