Skip to content

Commit

Permalink
Get LBA Status does not specify data_len; returning no data
Browse files Browse the repository at this point in the history
  • Loading branch information
NateThornton committed Dec 7, 2023
1 parent 6b61dd4 commit e380d98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nvme/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,7 @@ int nvme_get_lba_status(struct nvme_get_lba_status_args *args)
.opcode = nvme_admin_get_lba_status,
.nsid = args->nsid,
.addr = (__u64)(uintptr_t)args->lbas,
.data_len = (args->mndw + 1) << 2,
.cdw10 = cdw10,
.cdw11 = cdw11,
.cdw12 = cdw12,
Expand Down

0 comments on commit e380d98

Please sign in to comment.