Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libnvme/src/nvme/linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,9 @@ __public int nvme_lookup_key(struct nvme_global_ctx *ctx, const char *type,
key = keyctl_search(KEY_SPEC_SESSION_KEYRING, type, identity, 0);
if (key < 0)
return -errno;
return key;

*keyp = key;
return 0;
}

__public int nvme_set_keyring(struct nvme_global_ctx *ctx, long key_id)
Expand Down
Loading