]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove blk_init_request_from_bio
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Jun 2019 10:29:00 +0000 (12:29 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2019 16:29:22 +0000 (10:29 -0600)
commitc03b735796bc4af68f96365003781eaa1e35d212
tree63df4c6d084019d25e2b1f70909a8a9a90dfd5ed
parentb475678ffa1a9e18c8c31cce84a16acc0df0423a
block: remove blk_init_request_from_bio

lightnvm should have never used this function, as it is sending
passthrough requests, so switch it to blk_rq_append_bio like all the
other passthrough request users.  Inline blk_init_request_from_bio into
the only remaining caller.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Javier González <javier@javigon.com>
Reviewed-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
drivers/nvme/host/lightnvm.c
include/linux/blkdev.h