]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: simplify and export blk_rq_append_bio
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jul 2016 09:31:51 +0000 (11:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 20 Jul 2016 23:38:32 +0000 (17:38 -0600)
commit98d61d5b1a65a9df7cb3d9605f5d37d3dbbb4b5e
treee67f98b6b8125835d3d085f80e4149a29e6c9022
parent0c4de0f33b0a86a426c0c3958cd40d8c82ede8d2
block: simplify and export blk_rq_append_bio

The target SCSI passthrough backend is much better served with the low-level
blk_rq_append_bio construct then the helpers built on top of it, so export it.

Also use the opportunity to remove the pointless request_queue argument and
make the code flow a little more readable.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-map.c
block/blk.h
include/linux/blkdev.h