git: 96d1fbf3676a - main - vfs: fix VOP_UNLOCK prototype in the manpage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Aug 2022 20:56:02 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=96d1fbf3676a5af4a418ba127c347806c11d45aa
commit 96d1fbf3676a5af4a418ba127c347806c11d45aa
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2022-08-23 20:55:20 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2022-08-23 20:55:20 +0000
vfs: fix VOP_UNLOCK prototype in the manpage
Note the manpage is woefully outdated, taking about "simple lock".
Reported by: des
---
share/man/man9/VOP_LOCK.9 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9
index db4608037ade..7368ebd49ccf 100644
--- a/share/man/man9/VOP_LOCK.9
+++ b/share/man/man9/VOP_LOCK.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 25, 2008
+.Dd August 23, 2022
.Dt VOP_LOCK 9
.Os
.Sh NAME
@@ -44,7 +44,7 @@
.Ft int
.Fn VOP_LOCK "struct vnode *vp" "int flags"
.Ft int
-.Fn VOP_UNLOCK "struct vnode *vp" "int flags"
+.Fn VOP_UNLOCK "struct vnode *vp"
.Ft int
.Fn VOP_ISLOCKED "struct vnode *vp"
.Ft int