mount_fd: Use RAII for MountFd reference counting
This commit moves MountFd
and MountFds
into a separate module
and introduces a new type MountFdRef
that is a strong reference
to a MountFd
. MountFdRef
uses RAII in order to correctly
mutate the refcount of the referenced MountFd
.
Edited by Sebastian Hasler