]> www.infradead.org Git - users/sagi/libnvme.git/commit
Use argument structure for NVMe reservation commands
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)
commitb57ff520c306c5384e8b98be99cc66a31a9bccc5
tree0fd674acf35d0760fbba2a2e7c44b8986a03fa11
parent4571032fb727346971a6f733cfc391141559531b
Use argument structure for NVMe reservation commands

Use an argument structure for NVMe reservation commands like
nvme_resv_acquire() or nvme_resv_release() 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