Commit ce90f301 authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman
Browse files

nvme: split command copy into a helper



[ Upstream commit 3233b94c ]

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: default avatarChaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarMax Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: c31fad14 ("nvme-pci: add missing condition check for existence of mapped data")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b59013d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment