git: da590a3e18cb - main - lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 May 2024 16:50:56 UTC
The branch main has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=da590a3e18cb883ba0444b78deeca5a2ed0b042f
commit da590a3e18cb883ba0444b78deeca5a2ed0b042f
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2024-05-20 16:48:32 +0000
Commit: Ryan Libby <rlibby@FreeBSD.org>
CommitDate: 2024-05-20 16:48:32 +0000
lock.9: LK_TIMELOCK is a lockmgr flag, not lockinit
Reviewed by: imp, markj
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D45246
---
share/man/man9/lock.9 | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index 110fdd68fda0..96f617a72123 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
.\" DAMAGE.
.\"
-.Dd November 17, 2017
+.Dd May 18, 2024
.Dt LOCK 9
.Os
.Sh NAME
@@ -108,10 +108,6 @@ should log messages about duplicate locks being acquired.
Disable
.Xr ktr 4
logging for this lock.
-.It Dv LK_TIMELOCK
-Use
-.Fa timo
-during a sleep; otherwise, 0 is used.
.El
.El
.Pp
@@ -182,6 +178,10 @@ Fail if operation has slept.
.It Dv LK_NOWAIT
Do not allow the call to sleep.
This can be used to test the lock.
+.It Dv LK_TIMELOCK
+Use
+.Fa timo
+during a sleep; otherwise, 0 is used.
.It Dv LK_NOWITNESS
Skip the
.Xr witness 4