diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-01-04 02:43:39 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-01-30 12:34:36 +0100 |
commit | 8ae372e3bb4acaca37ffa2ce54f4cf8dd60a94fa (patch) | |
tree | 6faac5ca9739806c1d4d88f95b2e6eb4e3993e25 | |
parent | 7b24fc4d7eb611da367dea3aad45473050aacd6c (diff) |
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>
-rw-r--r-- | fs/bio-integrity.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |