]> www.infradead.org Git - users/sagi/libnvme.git/commit
tree: fix segfault in nvme_scan_subsystem()
authorMartin George <marting@netapp.com>
Tue, 8 Aug 2023 16:30:25 +0000 (22:00 +0530)
committerDaniel Wagner <wagi@monom.org>
Wed, 9 Aug 2023 10:57:02 +0000 (12:57 +0200)
commit3564474d451ee21d1e92eec69609cf81d6177d2c
treede7260c49da46510adf4de5cdacd4558465f3595
parentd08fd10ac533c3e3a9249bc48df38b803a30a2f4
tree: fix segfault in nvme_scan_subsystem()

The wrong nvme_subsystem struct was being passed to
__nvme_subsystem_scan() which caused it to segfault.
Fix it.

Fixes: d08fd10 ("make __nvme_scan_subsystem() returning bool")
Signed-off-by: Martin George <marting@netapp.com>
src/nvme/tree.c