]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for nvme_format_nvm() and nvme_ns_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)
commitbbab30b1bf810c04d0d076a077826985d8d8ee02
tree8bbdac941c4add5bdee210539b3aa63e47ec480f
parent869fad3e5abfa421ea7cd0ff3abf052c00f9acdf
Use argument structure for nvme_format_nvm() and nvme_ns_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
src/nvme/linux.c