]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: Show ANA state only for one namespace
authorDaniel Wagner <dwagner@suse.de>
Thu, 2 Jun 2022 08:58:42 +0000 (10:58 +0200)
committerDaniel Wagner <dwagner@suse.de>
Thu, 2 Jun 2022 09:51:32 +0000 (11:51 +0200)
commitcdeaab8fca6e86514b85dd285a23b8161999b75e
tree347c5315fa24caf6d3719f5f07a2910f9330a7e4
parentbcda657c812f765fa831a4b0766ba64cc85eb6df
nvme-print: Show ANA state only for one namespace

'nvme list-subsys' shows the state of all controllers belonging to a
subsystem. The ANA state is a per namespace attribute hence it only
makes sense to show it if the user lists the subsystem for a
namespace.

Fixes: 7435ed9ae6a6 ("nvme-print: Show paths from the first namespace only")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print.c
nvme-print.h
nvme.c