projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b24fc4
)
block: Remove obsolete BUG_ON
author
Martin K. Petersen
<martin.petersen@oracle.com>
Sun, 4 Jan 2009 07:43:39 +0000
(
02:43
-0500)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/fs/bio-integrity.c
b/fs/bio-integrity.c
index 8396d741f8041e0596e8d4a003dbb1dd38b6caee..549b0144da118ee2dd13f11b77cbf5fcf1ab2626 100644
(file)
--- 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;