Commit 8ae372e3bb4acaca37ffa2ce54f4cf8dd60a94fa

Authored by Martin K. Petersen
Committed by Jens Axboe
1 parent 7b24fc4d7e

block: Remove obsolete BUG_ON

Now that bio_vecs are no longer cleared in bvec_alloc_bs() the following
BUG_ON must go.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -140,7 +140,6 @@
140 140  
141 141 iv = bip_vec_idx(bip, bip->bip_vcnt);
142 142 BUG_ON(iv == NULL);
143   - BUG_ON(iv->bv_page != NULL);
144 143  
145 144 iv->bv_page = page;
146 145 iv->bv_len = len;