]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1983de2a17b07c83f4f5426d7faa9658bada142
tree83e268a1658ec9b3a478ddcf71741924f7202fb0
parentf89dfafbf42df6acd40757ad397df6a6c74839a7
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