attilio 2008-02-06 00:04:09 UTC
FreeBSD src repository
Modified files:
sys/kern kern_timeout.c subr_lock.c
Log:
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
Revision Changes Path
1.109 +2 -2 src/sys/kern/kern_timeout.c
1.22 +2 -2 src/sys/kern/subr_lock.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"