diff options
author | Mark Fasheh <mfasheh@suse.de> | 2011-09-09 02:14:32 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-03-22 01:45:38 +0100 |
commit | 2cdcecbc153c222fae1be6f8ddb320b29e3a5200 (patch) | |
tree | 265642879131a44f72e17c6c86d8d925178d4ace /fs/locks.c | |
parent | btrfs: Go readonly on tree errors in balance_level (diff) | |
download | linux-2cdcecbc153c222fae1be6f8ddb320b29e3a5200.tar.xz linux-2cdcecbc153c222fae1be6f8ddb320b29e3a5200.zip |
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>
Diffstat (limited to 'fs/locks.c')
0 files changed, 0 insertions, 0 deletions