]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-cli: fix the [data|mdata]_len param
authorChaitanya Kulkarni <kch@nvidia.com>
Tue, 7 Sep 2021 20:11:36 +0000 (13:11 -0700)
committerKeith Busch <kbusch@kernel.org>
Tue, 7 Sep 2021 20:49:53 +0000 (13:49 -0700)
commitbbf3beaf4d031a88aca526408d8ed94d7832a90b
tree48b4e0778c21f296004d2deb2d8cfe865a00638a
parent91210cb6360eb20b9f371e9e496b72f4d683f45e
nvme-cli: fix the [data|mdata]_len param

Add missing user data buffer and metadata buffer size parameter for the
passthru I/O commands since driver code expects these values to be set
from the user space. Without this patch blktests/nvme/029 is failing.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
nvme-ioctl.c
nvme-ioctl.h
nvme.c