summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorHannes Reinecke <hare@kernel.org>2024-06-17 10:27:26 +0300
committerKeith Busch <kbusch@kernel.org>2024-06-17 21:29:22 +0300
commitf31e85a4d7c6ac4a3e014129c9cdc31592ea29f3 (patch)
treec73afac14764e1b33ce50186e372e84743bc85f9 /scripts/lib/kdoc/kdoc_files.py
parent9570a48847e3acfa1a741cef431c923325ddc637 (diff)
downloadlinux-f31e85a4d7c6ac4a3e014129c9cdc31592ea29f3.tar.xz
nvmet: do not return 'reserved' for empty TSAS values
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@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions