Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme: avoid unnecessary dup() + close() in io_mgmt_send()
_cleanup_fd_ doesn't close STD{IN,OUT,ERR}_FILENO, so don't bother creating a duplicate fd. Signed-off-by: Caleb Sander Mateos <[email protected]> Fixes: 7e1f679 ("nvme: use cleanup helper to close file descriptor")
- Loading branch information