btrfs: Don't BUG_ON insert errors in btrfs_alloc_dev_extent()
authorMark Fasheh <mfasheh@suse.de>
Fri, 9 Sep 2011 00:14:32 +0000 (17:14 -0700)
committerDavid Sterba <dsterba@suse.cz>
Thu, 22 Mar 2012 00:45:38 +0000 (01:45 +0100)
The only caller of btrfs_alloc_dev_extent() is __btrfs_alloc_chunk() which
already bugs on any error returned. We can remove the BUG_ON's in
btrfs_alloc_dev_extent() then since __btrfs_alloc_chunk() will "catch" them
anyway.

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

Simple merge