diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-19 10:26:26 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-27 21:13:45 +0300 |
commit | 8fc450443e3c489af41a3c9c85b32d38625f2c2a (patch) | |
tree | d90a7255a56e63da540cfdf39c2c61581e86db93 /drivers/sbus/char/jsflash.c | |
parent | 0bf6595ec81d896451f0066c95f8cd34c74313dc (diff) | |
download | linux-8fc450443e3c489af41a3c9c85b32d38625f2c2a.tar.xz |
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>
Diffstat (limited to 'drivers/sbus/char/jsflash.c')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index 35a69949f92d..14f377ac1280 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c @@ -592,6 +592,7 @@ static int jsfd_init(void) put_disk(disk); goto out; } + blk_queue_bounce_limit(disk->queue, BLK_BOUNCE_HIGH); jsfd_disk[i] = disk; } |