Page MenuHomeFreeBSD

libcuse: silence -Wthread-safety-analysis warnings
ClosedPublic

Authored by arichardson on Sep 14 2025, 11:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 11:19 PM
Unknown Object (File)
Thu, May 14, 10:16 PM
Unknown Object (File)
Tue, May 12, 3:52 PM
Unknown Object (File)
Sat, May 2, 9:11 AM
Unknown Object (File)
Mon, Apr 27, 2:00 PM
Unknown Object (File)
Fri, Apr 24, 8:01 PM
Unknown Object (File)
Thu, Apr 23, 12:10 PM
Unknown Object (File)
Tue, Apr 21, 10:11 AM
Subscribers

Details

Summary

The init function does not need to aquire a lock for TAILQ_INIT, so just
add __no_lock_analysis. We could also acquire the lock to silence the
analysis but that is unnecessary.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 67025
Build 63908: arc lint + arc unit