]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for nvme_set_features() and nvme_get_features()
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)
commitb9fe7a8d54fda56ff1de8f6363f1c0c5636f65a1
tree94a07e6a212ab6ed874e49ec014db4b908e88ab2
parent803d59dc2658e44a4914ff5194853cfbe46148b2
Use argument structure for nvme_set_features() and nvme_get_features()

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