Skip to content

Commit 37988a3

Browse files
authored
Merge pull request #270 from igaw/fix-pel
ioctl: Set lsp to action in nvme_get_log_persistent_event
2 parents db0c577 + 781dfc6 commit 37988a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/ioctl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1961,7 +1961,7 @@ static inline int nvme_get_log_persistent_event(int fd,
19611961
.nsid = NVME_NSID_ALL,
19621962
.csi = NVME_CSI_NVM,
19631963
.lsi = NVME_LOG_LSI_NONE,
1964-
.lsp = NVME_LOG_LSP_NONE,
1964+
.lsp = action,
19651965
.uuidx = NVME_UUID_NONE,
19661966
.rae = false,
19671967
.ot = false,

0 commit comments

Comments
 (0)