linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.41k stars 637 forks source link

nvme: change to use libnvme cleanup functions #2395

Closed ikegami-t closed 1 week ago

ikegami-t commented 1 week ago

Delete duplicated functions and change _cleanupfile to _cleanupfd.

ikegami-t commented 1 week ago

Depended on the PR linux-nvme/libnvme#858.

igaw commented 1 week ago

I don't want to export the private cleanup.h file from libnvme. We can update version in nvme-cli using the same names as in libnvme though.

ikegami-t commented 1 week ago

Just updated the nvme-cli version to use the same names as in libnvme.

igaw commented 1 week ago

Thanks!