]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for nvme_capacity_mgmt()
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)
commit353d689490f4b53b2656c829f7de3a1df41b3369
treec2164af1acb958923f75f65457db03680464af43
parent7459192786a0caf51db965c9757d2d08ae0c1aeb
Use argument structure for nvme_capacity_mgmt()

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.

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