Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ae372e3 authored by Martin K. Petersen's avatar Martin K. Petersen Committed by Jens Axboe
Browse files

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: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 7b24fc4d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -140,7 +140,6 @@ int bio_integrity_add_page(struct bio *bio, struct page *page,

	iv = bip_vec_idx(bip, bip->bip_vcnt);
	BUG_ON(iv == NULL);
	BUG_ON(iv->bv_page != NULL);

	iv->bv_page = page;
	iv->bv_len = len;