Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 12/06/2007 17:05:08
Module Name: src
Committed By: ad
Date: Thu Dec 6 17:05:08 UTC 2007
Modified Files:
src/sys/kern: kern_lock.c
src/sys/sys: lock.h
Log Message:
Nothing uses shared -> exclusive upgrades any more, so remove the code.
This is good since they are effectively the same as ...
lockmgr(&lock, LK_RELEASE);
lockmgr(&lock, LK_EXCLUSIVE);
.. and therefore don't behave as expected.
To generate a diff of this commit:
cvs rdiff -r1.128 -r1.129 src/sys/kern/kern_lock.c
cvs rdiff -r1.75 -r1.76 src/sys/sys/lock.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.