From a10a53dd934a67693d068bba16e635ddabcdabe2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Apr 2023 09:38:49 +0200 Subject: Adding upstream version 1.4. Signed-off-by: Daniel Baumann --- src/nvme/ioctl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvme/ioctl.c') diff --git a/src/nvme/ioctl.c b/src/nvme/ioctl.c index b2d92ef..2b5e09d 100644 --- a/src/nvme/ioctl.c +++ b/src/nvme/ioctl.c @@ -438,6 +438,8 @@ int nvme_get_log_page(int fd, __u32 xfer_len, struct nvme_get_log_args *args) void *ptr = args->log; int ret; + args->fd = fd; + /* * 4k is the smallest possible transfer unit, so restricting to 4k * avoids having to check the MDTS value of the controller. -- cgit v1.2.3