[Virtio-fs] [virtiofsd] MR opened: vhost_user_backend: Skip locking if we have exclusive reference
virtiofs-bot at sinrega.org
virtiofs-bot at sinrega.org
Tue Feb 1 19:23:44 UTC 2022
If we have an exclusive reference to the
`Mutex<VhostUserFsThread<F>>`, then we don't need to lock it.
Instead we can use `.get_mut()`.
---
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/83
More information about the Virtio-fs
mailing list