target: stop using blk_make_request
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jul 2016 09:31:52 +0000 (11:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 20 Jul 2016 23:38:33 +0000 (17:38 -0600)
commitdd9cf04611c566f980638ec0c592c38ea5d463ce
tree83e268a1658ec9b3a478ddcf71741924f7202fb0
parent98d61d5b1a65a9df7cb3d9605f5d37d3dbbb4b5e
target: stop using blk_make_request

Using blk_rq_append_bio allows to append the bios to the request
directly instead of having to build up a list first, and also
allows to have a single code path for requests with or without
data attached to them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/target/target_core_pscsi.c