commit | 2cdcecbc153c222fae1be6f8ddb320b29e3a5200 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mfasheh@suse.de> | Thu Sep 08 17:14:32 2011 -0700 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:38 2012 +0100 |
tree | 265642879131a44f72e17c6c86d8d925178d4ace | |
parent | 305a26af5b2561a66859ef05ed7eb73d3c9f0913 [diff] |
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 <mfasheh@suse.de>