Skip to content

Commit 0721303

Browse files
authored
Merge pull request #171 from igaw/struct-layout-v2
Fill holes in ioctl's argument structs (alternative version)
2 parents 7c39cf1 + 2fa9cf6 commit 0721303

2 files changed

Lines changed: 470 additions & 482 deletions

File tree

src/nvme/ioctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ int nvme_ns_attach(struct nvme_ns_attach_args *args)
12031203

12041204
if (args->args_size < sizeof(*args))
12051205
return -EINVAL;
1206-
return nvme_submit_admin_passthru(args->fd, &cmd, NULL);
1206+
return nvme_submit_admin_passthru(args->fd, &cmd, args->result);
12071207
}
12081208

12091209
int nvme_fw_download(struct nvme_fw_download_args *args)

0 commit comments

Comments
 (0)