nvme: Fix reservation status related structs
authorMike Christie <michael.christie@oracle.com>
Fri, 7 Apr 2023 20:05:40 +0000 (15:05 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Apr 2023 01:55:35 +0000 (21:55 -0400)
commitf2bf2e7e2d526116aab942aaf1b71a949a570ba6
treea1092b204a332d144e68b674745fe646464cfec1
parent8a8da082e9e46fb8c246822145a2e4920a8d03d5
nvme: Fix reservation status related structs

This fixes the following issues with the reservation status structs:

1. resv10 is bytes 23:10 so it should be 14 bytes.
2. regctl_ds only supports 64 bit host IDs.

These are not currently used, but will be in this patchset which adds
support for the reservation report command.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20230407200551.12660-8-michael.christie@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/linux/nvme.h