Skip to content

Commit

Permalink
ioctl: use lsp arg in nvme_get_log_boot_partition
Browse files Browse the repository at this point in the history
The function ask for the lsp but doesn't pass it to the command.

Fixes: 21acd63 ("types: add boot partition log support")
Signed-off-by: Daniel Wagner <[email protected]>
  • Loading branch information
igaw committed Oct 31, 2023
1 parent 13c8000 commit 01620b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvme/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1920,7 +1920,7 @@ static inline int nvme_get_log_boot_partition(int fd, bool rae,
.nsid = NVME_NSID_NONE,
.csi = NVME_CSI_NVM,
.lsi = NVME_LOG_LSI_NONE,
.lsp = NVME_LOG_LSP_NONE,
.lsp = lsp,
.uuidx = NVME_UUID_NONE,
.rae = rae,
.ot = false,
Expand Down

0 comments on commit 01620b4

Please sign in to comment.