]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: Remove BUG_ON from __finish_chunk_alloc()
authorMark Fasheh <mfasheh@suse.de>
Fri, 9 Sep 2011 00:40:01 +0000 (17:40 -0700)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:39 +0000 (01:45 +0100)
commit3acd395317f22b4346a139571cd4723408c5d4af
tree2ccb38cbf20effabef8ff577be03f1414a912e32
parent1dd4602fa74273c28b3577a58aa389f330e9a0dc
btrfs: Remove BUG_ON from __finish_chunk_alloc()

btrfs_alloc_chunk() unconditionally BUGs on any error returned from
__finish_chunk_alloc() so there's no need for two BUG_ON lines. Remove the
one from __finish_chunk_alloc().

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