Skip to content

mount_fd: Use RAII for MountFd reference counting

Sebastian Hasler requested to merge haslersn/virtiofsd:mount-fd-ref into main

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

Merge request reports