From 64551f472f7af38bc3dc0622ca1e9b97ca65de9c Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 10 Oct 2001 10:17:02 +0000 Subject: [PATCH] Fixed some bitrot. The KSE interface change for vops had not reached here. Didn't fix older bugs. Most of the examples don't even match historical interfaces. --- share/man/man9/VOP_LOCK.9 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9 index 5fe2f9fe4e17..fbc597ceeac9 100644 --- a/share/man/man9/VOP_LOCK.9 +++ b/share/man/man9/VOP_LOCK.9 @@ -42,13 +42,13 @@ .In sys/lock.h .In sys/vnode.h .Ft int -.Fn VOP_LOCK "struct vnode *vp" "int flags" "struct proc *p" +.Fn VOP_LOCK "struct vnode *vp" "int flags" "struct thread *td" .Ft int -.Fn VOP_UNLOCK "struct vnode *vp" "int flags" "struct proc *p" +.Fn VOP_UNLOCK "struct vnode *vp" "int flags" "struct thread *td" .Ft int -.Fn VOP_ISLOCKED "struct vnode *vp" "struct proc *p" +.Fn VOP_ISLOCKED "struct vnode *vp" "struct thread *td" .Ft int -.Fn vn_lock "struct vnode *vp" "int flags" "struct proc *p" +.Fn vn_lock "struct vnode *vp" "int flags" "struct thread *td" .Sh DESCRIPTION These calls are used to serialize access to the filesystem, such as to prevent two writes to the same file from happening at the @@ -90,8 +90,8 @@ with these control flags: .It Dv LK_RETRY Ta "Retry until locked" .It Dv LK_NOOBJ Ta "Don't create object" .El -.It Ar p -process context to use for the locks +.It Ar td +thread context to use for the locks .El .Pp Kernel code should use