Page MenuHomeFreeBSD

libcuse: silence -Wthread-safety-analysis warnings
AcceptedPublic

Authored by arichardson on Sep 14 2025, 11:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 7:09 PM
Unknown Object (File)
Wed, Dec 10, 12:25 AM
Unknown Object (File)
Nov 23 2025, 1:23 PM
Unknown Object (File)
Nov 18 2025, 3:35 PM
Unknown Object (File)
Nov 4 2025, 7:07 PM
Unknown Object (File)
Nov 2 2025, 6:22 AM
Unknown Object (File)
Oct 13 2025, 5:26 AM
Unknown Object (File)
Oct 13 2025, 5:26 AM
Subscribers
None

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

Event Timeline

arichardson created this revision.

No objection, seems fine. This will be the first use I believe?

This revision is now accepted and ready to land.Wed, Dec 17, 7:22 PM