Message ID | 54E07788.8060907@plexistor.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/block/pmem.c b/drivers/block/pmem.c index 5eced12..26d61da 100644 --- a/drivers/block/pmem.c +++ b/drivers/block/pmem.c @@ -120,7 +120,6 @@ static void pmem_make_request(struct request_queue *q, struct bio *bio) bio_for_each_segment(bvec, bio, iter) { unsigned int len = bvec.bv_len; - BUG_ON(len > PAGE_SIZE); pmem_do_bvec(pmem, bvec.bv_page, len, bvec.bv_offset, rw, sector); sector += len >> SECTOR_SHIFT;