diff options
author | Hannes Reinecke <[email protected]> | 2024-06-17 09:27:26 +0200 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-06-17 11:29:22 -0700 |
commit | f31e85a4d7c6ac4a3e014129c9cdc31592ea29f3 (patch) | |
tree | c73afac14764e1b33ce50186e372e84743bc85f9 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 9570a48847e3acfa1a741cef431c923325ddc637 (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions