diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 8c5bd8fa8245..304710cae653 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -3400,8 +3400,6 @@ static int do_chunk_alloc(struct btrfs_trans_handle *trans, | |||
3400 | int wait_for_alloc = 0; | 3400 | int wait_for_alloc = 0; |
3401 | int ret = 0; | 3401 | int ret = 0; |
3402 | 3402 | ||
3403 | BUG_ON(!alloc_profile_is_valid(flags, 0)); | ||
3404 | |||
3405 | space_info = __find_space_info(extent_root->fs_info, flags); | 3403 | space_info = __find_space_info(extent_root->fs_info, flags); |
3406 | if (!space_info) { | 3404 | if (!space_info) { |
3407 | ret = update_space_info(extent_root->fs_info, flags, | 3405 | ret = update_space_info(extent_root->fs_info, flags, |