diff options
author | alfred <alfred@FreeBSD.org> | 2004-07-08 00:11:43 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-07-08 00:11:43 +0000 |
commit | 18187ae75dad44d79df9d16fb590ca0d6de52596 (patch) | |
tree | 6e8017073c80f0e478483e892a036ae65b0b8be0 /share/man | |
parent | 11872a37e76165f23760a147cf1d9e302f8682a3 (diff) | |
download | FreeBSD-src-18187ae75dad44d79df9d16fb590ca0d6de52596.zip FreeBSD-src-18187ae75dad44d79df9d16fb590ca0d6de52596.tar.gz |
Update because struct componentname now has a thread pointer instead
of a proc pointer.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/VOP_LOOKUP.9 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9 index 465975a..1d62473 100644 --- a/share/man/man9/VOP_LOOKUP.9 +++ b/share/man/man9/VOP_LOOKUP.9 @@ -62,7 +62,7 @@ struct componentname { */ u_long cn_nameiop; /* namei operation */ u_long cn_flags; /* flags to namei */ - struct proc *cn_proc; /* process requesting lookup */ + struct thread *cn_thread; /* process requesting lookup */ struct ucred *cn_cred; /* credentials */ /* * Shared between lookup and commit routines. @@ -176,7 +176,7 @@ vop_lookup(struct vnode *dvp, if (dvp->v_type != VDIR) return ENOTDIR; - error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_proc); + error = VOP_ACCESS(dvp, VEXEC, cred, cnp->cn_thread); if (error) return (error); @@ -296,7 +296,7 @@ vop_lookup(struct vnode *dvp, /* * Check for write access on directory. */ - error = VOP_ACCESS(dvp, VWRITE, cred, cnp->cn_proc); + error = VOP_ACCESS(dvp, VWRITE, cred, cnp->cn_thread); if (error) return (error); @@ -331,7 +331,7 @@ vop_lookup(struct vnode *dvp, * regular file, or empty directory. */ if (nameiop == RENAME && wantparent && islastcn) { - error = VOP_ACCESS(dvp, VWRITE, cred, cnp->cn_proc); + error = VOP_ACCESS(dvp, VWRITE, cred, cnp->cn_thread); if (error) return (error); |