]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print-stdout: List only ctrls which are part of ns
authorDaniel Wagner <dwagner@suse.de>
Fri, 21 Jul 2023 11:43:02 +0000 (13:43 +0200)
committerDaniel Wagner <wagi@monom.org>
Mon, 24 Jul 2023 16:23:41 +0000 (18:23 +0200)
commit04f6ab202b578058e9cdca2294fb8f8439a77eea
treee60f33c96bb42548fe293f5f248a81116b65bfbe
parent99644d6bf8b357d0b3024fcbfc857c852fb449b4
nvme-print-stdout: List only ctrls which are part of ns

We should only list the controllers which are associated with the
current namespace. Previously we added all controllers of the subsystem
to the list.

Fixes: a660c506906d ("nvme-print-stdout: Support subsys reachable from several hosts")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print-stdout.c