]> www.infradead.org Git - users/sagi/libnvme.git/commit
ioctl: implement nvme_set_features_lba_range()
authorCaleb Sander <csander@purestorage.com>
Fri, 15 Sep 2023 01:22:58 +0000 (19:22 -0600)
committerDaniel Wagner <wagi@monom.org>
Wed, 20 Sep 2023 08:33:57 +0000 (10:33 +0200)
commit7c483bcd6de0dd4ea218716b47888a9973f8fe1c
tree0ca2dbbdd146eaa7e8e73439a5124eb50313de41
parentd1a1be20af78257d1920a80a0b234c749833716a
ioctl: implement nvme_set_features_lba_range()

nvme_set_features_lba_range() was missing an implementation,
so add one. Change nr_ranges to a u8 since its maximum value is 64.

Signed-off-by: Caleb Sander <csander@purestorage.com>
src/nvme/ioctl.c
src/nvme/ioctl.h