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

nvme: separate command prep and issue



[ Upstream commit 62451a2b ]

Add a nvme_prep_rq() helper to setup a command, and nvme_queue_rq() is
adapted to use this helper.

Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
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 20dd2e9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment