diff options
author | Mike Christie <[email protected]> | 2023-04-07 15:05:44 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-11 21:55:35 -0400 |
commit | 5fd96a4e15de8442915a912233d800c56f49001d (patch) | |
tree | 75478f370bcb2d4512a4b49f96877b5b3d834502 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | f0614790b77300d69a1f37265f98b68c4835811b (diff) |
nvme: Add pr_ops read_keys support
This patch adds support for the pr_ops read_keys callout by calling the
NVMe Reservation Report helper, then parsing that info to get the
controller's registered keys. Because the callout is only used in the
kernel where the callers, like LIO, do not know about controller/host IDs,
the callout just returns the registered keys which is required by the SCSI
PR in READ KEYS command.
Signed-off-by: Mike Christie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions