]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for nvme_lockdown()
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)
commit8e376cb2d11a93477cb30c62255bc0e4ca6d14ef
treefc66836bdf0d3ee94c43fb3647e628a027c75f73
parent353d689490f4b53b2656c829f7de3a1df41b3369
Use argument structure for nvme_lockdown()

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