block: don't set bounce limit in blk_init_queue
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 07:26:26 +0000 (09:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jun 2017 18:13:45 +0000 (12:13 -0600)
commit8fc450443e3c489af41a3c9c85b32d38625f2c2a
treed90a7255a56e63da540cfdf39c2c61581e86db93
parent0bf6595ec81d896451f0066c95f8cd34c74313dc
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>
13 files changed:
block/blk-core.c
drivers/block/aoe/aoeblk.c
drivers/block/floppy.c
drivers/block/paride/pcd.c
drivers/block/paride/pd.c
drivers/block/paride/pf.c
drivers/block/skd_main.c
drivers/block/swim.c
drivers/block/swim3.c
drivers/block/xsysace.c
drivers/cdrom/gdrom.c
drivers/mtd/mtd_blkdevs.c
drivers/sbus/char/jsflash.c