summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/multipath.c
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2018-07-19 20:07:59 -0700
committerChristoph Hellwig <hch@lst.de>2018-07-20 07:43:59 -0700
commit9b382768135ee3ff282f828c906574a8478e036b (patch)
treeed4b899b3a3c4b3b8d01aff47f28ad4c5c74393f /drivers/nvme/host/multipath.c
parentfa441b71aa27d06fa79d5e7f7c329981dccd94d1 (diff)
nvme: fix handling of metadata_len for NVME_IOCTL_IO_CMD
The old code in nvme_user_cmd() passed the userspace virtual address from nvme_passthru_cmd.metadata as the length of the metadata buffer as well as the address to nvme_submit_user_cmd(). Fixes: 63263d60 ("nvme: Use metadata for passthrough commands") Signed-off-by: Roland Dreier <roland@purestorage.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/multipath.c')
0 files changed, 0 insertions, 0 deletions