vhost_user_backend: Skip locking if we have exclusive reference
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()
.
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()
.