parse_and_open without closing the fd

Thomas Tai thomas.tai at oracle.com
Mon Nov 20 12:04:36 PST 2017


Hi there,
I am trying to add a new command in nvme-cli and use flush() in nvme.c 
as an example. The flush command use parse_and_open() to open the fd, 
but it never close the fd. I am wondering where about the fd is being 
closed.

Thank you very much.
Thomas



More information about the Linux-nvme mailing list