diff options
author | attilio <attilio@FreeBSD.org> | 2008-02-06 00:04:09 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-02-06 00:04:09 +0000 |
commit | acc2f89a7fb9267906b61ccf186132ea33aa2eda (patch) | |
tree | 1b1f73dd58702a12d8c524882db74b0a9ff444d9 /lib/libc | |
parent | 12170a7b3f1afc618eee92f338c6799312fc0f7e (diff) | |
download | FreeBSD-src-acc2f89a7fb9267906b61ccf186132ea33aa2eda.zip FreeBSD-src-acc2f89a7fb9267906b61ccf186132ea33aa2eda.tar.gz |
Really, no explicit checks against against lock_class_* object should be
done in consumers code: using locks properties is much more appropriate.
Fix current code doing these bogus checks.
Note: Really, callout are not usable by all !(LC_SPINLOCK | LC_SLEEPABLE)
primitives like rmlocks doesn't implement the generic lock layer
functions, but they can be equipped for this, so the check is still
valid.
Tested by: matteo, kris (earlier version)
Reviewed by: jhb
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions