block: Remove obsolete BUG_ON
authorMartin K. Petersen <martin.petersen@oracle.com>
Sun, 4 Jan 2009 07:43:39 +0000 (02:43 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 30 Jan 2009 11:34:36 +0000 (12:34 +0100)
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>
fs/bio-integrity.c

index 8396d74..549b014 100644 (file)
@@ -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;