]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tools/virtiofsd/passthrough_ll.c
virtiofsd: load_capng missing unlock
[mirror_qemu.git] / tools / virtiofsd / passthrough_ll.c
index e6f2399efcb51d1382a7331e27195c9d9cdbac74..c635fc882032a874628b06c4d166a744da1aba01 100644 (file)
@@ -232,6 +232,7 @@ static int load_capng(void)
          */
         cap.saved = capng_save_state();
         if (!cap.saved) {
+            pthread_mutex_unlock(&cap.mutex);
             fuse_log(FUSE_LOG_ERR, "capng_save_state (thread)\n");
             return -EINVAL;
         }