Skip to content

Commit

Permalink
block: Remove obsolete BUG_ON
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin K. Petersen authored and Jens Axboe committed Jan 30, 2009
1 parent 7b24fc4 commit 8ae372e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/bio-integrity.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8ae372e

Please sign in to comment.