aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/ll_rw_blk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index 5873861e1dbb..d99d402953a3 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -2558,6 +2558,7 @@ int blk_rq_map_kern(request_queue_t *q, struct request *rq, void *kbuf,
2558 bio->bi_rw |= (1 << BIO_RW); 2558 bio->bi_rw |= (1 << BIO_RW);
2559 2559
2560 blk_rq_bio_prep(q, rq, bio); 2560 blk_rq_bio_prep(q, rq, bio);
2561 blk_queue_bounce(q, &rq->bio);
2561 rq->buffer = rq->data = NULL; 2562 rq->buffer = rq->data = NULL;
2562 return 0; 2563 return 0;
2563} 2564}