Skip to content

Commit ee014b8

Browse files
committed
ioctl: Honor rae in nvme_get_nsid_log
The nvme_get_nsid_log() helper has a rae (Retain Asynchronous Events) parameter, but we currently ignore this when constructing the Get Log Page command arguments. This is a behavior change and not an API change. But the good thing is only for newly build binaries because all helpers are static inline fuctions. Reported-by: Reported-by: Jeremy Kerr <[email protected]> Signed-off-by: Daniel Wagner <[email protected]>
1 parent f6748bb commit ee014b8

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
@@ -1244,7 +1244,7 @@ static inline int nvme_get_nsid_log(int fd, bool rae,
12441244
.lsi = NVME_LOG_LSI_NONE,
12451245
.lsp = NVME_LOG_LSP_NONE,
12461246
.uuidx = NVME_UUID_NONE,
1247-
.rae = false,
1247+
.rae = rae,
12481248
.ot = false,
12491249
};
12501250

0 commit comments

Comments
 (0)