diff options
author | bde <bde@FreeBSD.org> | 2001-10-10 10:17:02 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-10-10 10:17:02 +0000 |
commit | 1afb151feb8e247e22b81ba51d99de6fc23d1296 (patch) | |
tree | 8dedcfccb5b6a47c012d6fd0cc2656004d7a6564 /share | |
parent | adca9bb8abae9ca7a0882139fe26ac3faf443975 (diff) | |
download | FreeBSD-src-1afb151feb8e247e22b81ba51d99de6fc23d1296.zip FreeBSD-src-1afb151feb8e247e22b81ba51d99de6fc23d1296.tar.gz |
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.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/VOP_LOCK.9 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9 index 5fe2f9f..fbc597c 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 |