From 01620b4df218bb7ee5035dfac5022ea76dd4dd80 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 31 Oct 2023 16:41:13 +0100 Subject: [PATCH] ioctl: use lsp arg in nvme_get_log_boot_partition The function ask for the lsp but doesn't pass it to the command. Fixes: 21acd638c4c9 ("types: add boot partition log support") Signed-off-by: Daniel Wagner --- src/nvme/ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvme/ioctl.h b/src/nvme/ioctl.h index 30761526..4a0698fc 100644 --- a/src/nvme/ioctl.h +++ b/src/nvme/ioctl.h @@ -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,