nvme-lightnvm: use blk_execute_rq in nvme_nvm_submit_user_cmd
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Jun 2017 07:37:54 +0000 (09:37 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Jun 2017 15:27:32 +0000 (09:27 -0600)
commit401741547f95c0883fe143ac446d92c772937556
treee04c9979c73259350fc5c1fbd82044d728133982
parentdc88e34d69d87c370deaa9d613dac8e3a0411f59
nvme-lightnvm: use blk_execute_rq in nvme_nvm_submit_user_cmd

Instead of reinventing it poorly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/lightnvm.c