]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: Call nvme_identify_*list with correct nsid offset
authorDaniel Wagner <dwagner@suse.de>
Thu, 27 Jan 2022 10:06:39 +0000 (11:06 +0100)
committerDaniel Wagner <dwagner@suse.de>
Thu, 27 Jan 2022 10:06:39 +0000 (11:06 +0100)
commitb5c01e4e3361dea5407d45e0e42c0b5ef00e5590
tree39814beb5a0a462542154c96ad9bedc68dbc6491
parent7202856a995c8f908d8958058eb17f2f367d2f4b
nvme: Call nvme_identify_*list with correct nsid offset

Commit 81bb8289f642 ("nvme: update list-ns nsid option") changed the
start index for the namespace argument. But the merge back from the
monolithic branch was incomplete and missed to update the index offset
when calling nvme_identify_allocated_ns_list and
nvme_identify_active_ns_list.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme.c