From: Martin K. Petersen Date: Sun, 4 Jan 2009 07:43:39 +0000 (-0500) Subject: block: Remove obsolete BUG_ON X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8ae372e3bb4acaca37ffa2ce54f4cf8dd60a94fa;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jens Axboe --- diff --git a/fs/bio-integrity.c b/fs/bio-integrity.c index 8396d741f80..549b0144da1 100644 --- a/fs/bio-integrity.c +++ b/fs/bio-integrity.c @@ -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;