]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: do not set dhchap_key to 'none'
authorHannes Reinecke <hare@suse.de>
Thu, 3 Feb 2022 11:28:13 +0000 (12:28 +0100)
committerHannes Reinecke <hare@suse.de>
Thu, 3 Feb 2022 13:28:40 +0000 (14:28 +0100)
commitfe89efaf32509b416c4519d45b7ac82c88b4a93d
treed090e693c4c97946372dc50264738e2013b489d1
parent3dfc585c8eb5f1f93ef5859537cf0aa9186a05da
tree: do not set dhchap_key to 'none'

When no dhchap key is set the kernel will set the sysfs attribute
to 'none'. And we shouldn't display this value in our internal tree
as it really means 'not set'.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/tree.c