Commit 9473d9a
committed
tree: avoid updating --tls in nvme_read_sysfs_tls()
It is wrongly assumed that the presence of the sysfs tls_key
attribute indicates --tls alone was invoked. But this can
also happen if --concat was invoked as well. And both --tls
and --concat are mutually exclusive. Also, both --tls and
--concat are already appropriately set earlier during configured
& generated PSK TLS workflows respectively. So avoid explicitly
setting --tls again here in nvme_read_sysfs_tls() as that's
unnecessary and incorrect too.
Signed-off-by: Martin George <[email protected]>1 parent c31a813 commit 9473d9a
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
1680 | | - | |
| 1680 | + | |
1681 | 1681 | | |
1682 | 1682 | | |
1683 | | - | |
1684 | 1683 | | |
1685 | 1684 | | |
1686 | 1685 | | |
| |||
0 commit comments