diff options
Diffstat (limited to 'mm/bounce.c')
| -rw-r--r-- | mm/bounce.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/bounce.c b/mm/bounce.c index c9f0a4339a7d..5a7d58fb883b 100644 --- a/mm/bounce.c +++ b/mm/bounce.c | |||
| @@ -204,6 +204,8 @@ static void __blk_queue_bounce(struct request_queue *q, struct bio **bio_orig, | |||
| 204 | struct bio_vec *to, *from; | 204 | struct bio_vec *to, *from; |
| 205 | unsigned i; | 205 | unsigned i; |
| 206 | 206 | ||
| 207 | if (force) | ||
| 208 | goto bounce; | ||
| 207 | bio_for_each_segment(from, *bio_orig, i) | 209 | bio_for_each_segment(from, *bio_orig, i) |
| 208 | if (page_to_pfn(from->bv_page) > queue_bounce_pfn(q)) | 210 | if (page_to_pfn(from->bv_page) > queue_bounce_pfn(q)) |
| 209 | goto bounce; | 211 | goto bounce; |
