]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for nvme_zns_mgmt_send() and nvme_zns_mgmt_recv()
authorHannes Reinecke <hare@suse.de>
Fri, 17 Dec 2021 07:03:42 +0000 (08:03 +0100)
committerDaniel Wagner <dwagner@suse.de>
Mon, 10 Jan 2022 16:55:18 +0000 (17:55 +0100)
commitf08139355010b7c64d49b8cd2e0ecf27d1d6632b
tree770c3cf423eea6311c542acb516febf65d780578
parentb57ff520c306c5384e8b98be99cc66a31a9bccc5
Use argument structure for nvme_zns_mgmt_send() and nvme_zns_mgmt_recv()

Use an argument structure instead of passing all arguments one by one.
This allows for a future expansion of the argument list without having
to change the library ABI.
Also convert zns.c to use nvme_zns_report_zones() instead of calling
nvme_zns_mgmt_recv() directly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
src/nvme/ioctl.c
src/nvme/ioctl.h
test/zns.c