Created attachment 148172 [details] patch-lib__libcuse__cuse_lib.c: mutex unlock correctly. lib/libcuse/libcuse.c will throw a compile error with clang 3.6 - trunk - on -Wthread-safety-analysis . I suggest unlock call being done after the munmap() call at line 287. Included: the patch
I'll have a look. --HPS
A commit references this bug: Author: hselasky Date: Mon Oct 13 19:05:19 UTC 2014 New revision: 273059 URL: https://svnweb.freebsd.org/changeset/base/273059 Log: Fix compiler locking diagnostic warnings. PR: 194289 Changes: head/lib/libcuse/cuse_lib.c
Can you verify my patch fixes the problem? --HPS