cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h
John Baldwin
jhb at FreeBSD.org
Sat Jun 3 21:13:25 UTC 2006
jhb 2006-06-03 21:11:33 UTC
FreeBSD src repository
Modified files:
sys/kern kern_mutex.c
sys/sys mutex.h
Log:
Bah, fix fat finger in last. Invert the ~ on MTX_FLAGMASK as it's
non-intuitive for the ~ to be built into the mask. All the users now
explicitly ~ the mask. In addition, add MTX_UNOWNED to the mask even
though it technically isn't a flag. This should unbreak mtx_owner().
Quickly spotted by: kris
Revision Changes Path
1.173 +2 -2 src/sys/kern/kern_mutex.c
1.83 +2 -2 src/sys/sys/mutex.h
More information about the cvs-src
mailing list