summaryrefslogtreecommitdiff
path: root/block/bounce.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-27 12:13:21 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-27 12:13:21 -0600
commitcaa4b02476e31fc7933d2138062f7f355d3cd8f7 (patch)
tree7905a4ca4096ed76d0a8d36b79ef72bf7771e358 /block/bounce.c
parente442cbf910c71fba5926cf757dd7f8fcce22fc5f (diff)
blk-map: call blk_queue_bounce from blk_rq_append_bio
This makes moves the knowledge about bouncing out of the callers into the block core (just like we do for the normal I/O path), and allows to unexport blk_queue_bounce. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
-rw-r--r--block/bounce.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/bounce.c b/block/bounce.c
index 916ee9a9a216..27c5cc0f1ed5 100644
--- a/block/bounce.c
+++ b/block/bounce.c
@@ -284,5 +284,3 @@ void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
*/
__blk_queue_bounce(q, bio_orig, pool);
}
-
-EXPORT_SYMBOL(blk_queue_bounce);