[PATCH] nvmet: do not return 'reserved' for empty TSAS values
Chaitanya Kulkarni
chaitanyak at nvidia.com
Fri Jun 14 16:42:29 PDT 2024
On 6/14/24 03:44, Hannes Reinecke wrote:
> The 'TSAS' value is only defined for TCP and RDMA, but returning
> 'reserved' for undefined values tricked nvmetcli to try to write
> 'reserved' when restoring from a config file. This caused an error
> and the configuration would not be applied.
>
> Fixes: 3f123494db72 ("nvmet: make TCP sectype settable via configfs")
>
> Signed-off-by: Hannes Reinecke<hare at kernel.org>
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list