]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 8396d741f8041e0596e8d4a003dbb1dd38b6caee..549b0144da118ee2dd13f11b77cbf5fcf1ab2626 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;