Skip to content

Commit 8ae372e

Browse files
martinkpetersenJens Axboe
authored andcommitted
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>
1 parent 7b24fc4 commit 8ae372e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/bio-integrity.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ int bio_integrity_add_page(struct bio *bio, struct page *page,
140140

141141
iv = bip_vec_idx(bip, bip->bip_vcnt);
142142
BUG_ON(iv == NULL);
143-
BUG_ON(iv->bv_page != NULL);
144143

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

0 commit comments

Comments
 (0)