nvme: split command copy into a helper
authorJens Axboe <axboe@kernel.dk>
Fri, 29 Oct 2021 20:32:44 +0000 (14:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 17:54:30 +0000 (10:54 -0700)
commit3233b94cf842984ea7e208d5be1ad2f2af02d495
tree40d44ed816ea67a90afd2142cf434df15fd4c1d2
parent3c67d44de787dff288d7f2a51c372b22f7356db6
nvme: split command copy into a helper

We'll need it for batched submit as well. Since we now have a copy
helper, get rid of the nvme_submit_cmd() wrapper.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c