Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create_detached_idmapped_mount: avoid double close
fd_userns is defined as __do_close, so if it is not -EBADF, it will be closed on exit. So we need to either set it to -EBADF after closing it, or just not manually close it. My mistake in reviewing the previous patch. Signed-off-by: Serge Hallyn <serge@hallyn.com>
- Loading branch information