diff options
author | attilio <attilio@FreeBSD.org> | 2007-12-28 00:38:13 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2007-12-28 00:38:13 +0000 |
commit | c720b77ca941958916f2c143cba3327d448ee08b (patch) | |
tree | 6756c34c743d4bdd03e9bd87a198472dd71631fe /share/man/man9/lock.9 | |
parent | 15ff96944169ae56c4a2f3da912dc720eca4996c (diff) | |
download | FreeBSD-src-c720b77ca941958916f2c143cba3327d448ee08b.zip FreeBSD-src-c720b77ca941958916f2c143cba3327d448ee08b.tar.gz |
Trimm out now unused option LK_EXCLUPGRADE from the lockmgr namespace.
This option just adds complexity and the new implementation no longer
will support it, so axing it now that it is unused is probabilly the
better idea.
FreeBSD version is bumped in order to reflect the KPI breakage introduced
by this patch.
In the ports tree, kris found that only old OSKit code uses it, but as
it is thought to work only on 2.x kernels serie, version bumping will
solve any problem.
Diffstat (limited to 'share/man/man9/lock.9')
-rw-r--r-- | share/man/man9/lock.9 | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index 5968745..ee73335 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 20, 2006 +.Dd December 27, 2007 .Dt LOCK 9 .Os .Sh NAME @@ -113,7 +113,7 @@ Its arguments are: A pointer to the lock to manipulate. .It Fa flags Flags indicating what action is to be taken. -.Bl -tag -width ".Dv LK_EXCLUPGRADE" +.Bl -tag -width ".Dv LK_CANRECURSE" .It Dv LK_SHARED Acquire a shared lock. If an exclusive lock is currently held, it will be downgraded. @@ -127,14 +127,6 @@ is not set, the system will Downgrade exclusive lock to a shared lock. Downgrading a shared lock is not permitted. If an exclusive lock has been recursed, all references will be downgraded. -.It Dv LK_EXCLUPGRADE -Upgrade a shared lock to an exclusive lock. -Fails with -.Er EBUSY -if there is someone ahead of you in line waiting for an upgrade. -If this call fails, the shared lock is lost. -Attempts to upgrade an exclusive lock will cause a -.Xr panic 9 . .It Dv LK_UPGRADE Upgrade a shared lock to an exclusive lock. If this call fails, the shared lock is lost. |