block: don't set bounce limit in blk_init_queue
Instead move it to the callers. Those that either don't use bio_data() or page_address() or are specific to architectures that do not support highmem are skipped. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
0bf6595ec8
commit
8fc450443e
@@ -813,6 +813,7 @@ static int probe_gdrom(struct platform_device *devptr)
|
||||
err = -ENOMEM;
|
||||
goto probe_fail_requestq;
|
||||
}
|
||||
blk_queue_bounce_limit(gd.gdrom_rq, BLK_BOUNCE_HIGH);
|
||||
|
||||
err = probe_gdrom_setupqueue();
|
||||
if (err)
|
||||
|
Reference in New Issue
Block a user