From 96d1fbf3676a5af4a418ba127c347806c11d45aa Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 23 Aug 2022 20:55:20 +0000 Subject: [PATCH] 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