From: Mark Fasheh Date: Fri, 9 Sep 2011 00:14:32 +0000 (-0700) Subject: btrfs: Don't BUG_ON insert errors in btrfs_alloc_dev_extent() X-Git-Tag: v3.4-rc1~22^2~13^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cdcecbc153c222fae1be6f8ddb320b29e3a5200;p=pandora-kernel.git btrfs: Don't BUG_ON insert errors in btrfs_alloc_dev_extent() 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 --- Reading git-diff-tree failed