diff options
| author | Roland Dreier <roland@purestorage.com> | 2018-07-19 20:07:59 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:07:14 +0200 |
| commit | 2a271623ce9801ed0244517bfc8b4f4e7ee33eff (patch) | |
| tree | 88d3c887e499a362d1ee0a5e580743024b687a0a /tools/perf/scripts/python | |
| parent | 587eb87b45bb6a97452b9719f63cd489e1371e77 (diff) | |
nvme: fix handling of metadata_len for NVME_IOCTL_IO_CMD
[ Upstream commit 9b382768135ee3ff282f828c906574a8478e036b ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
