diff options
author | alfred <alfred@FreeBSD.org> | 2004-07-08 00:38:28 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2004-07-08 00:38:28 +0000 |
commit | 60a197bb101b2936ceba4df979b3354dc93fb8d9 (patch) | |
tree | d3a31e616ef350e36ba916a0b14dc6a3b46eaaee /share/man/man9 | |
parent | c8d0f89ed29d3b3aefe1cf44dc475d7d941a6cad (diff) | |
download | FreeBSD-src-60a197bb101b2936ceba4df979b3354dc93fb8d9.zip FreeBSD-src-60a197bb101b2936ceba4df979b3354dc93fb8d9.tar.gz |
s/proc/thread
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/VOP_RDWR.9 | 2 | ||||
-rw-r--r-- | share/man/man9/VOP_RENAME.9 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9 index d2e8680..4aaea5a 100644 --- a/share/man/man9/VOP_RDWR.9 +++ b/share/man/man9/VOP_RDWR.9 @@ -207,7 +207,7 @@ vop_write(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred) if (error) { if (ioflag & IO_UNIT) { - VOP_TRUNCATE(vp, osize, ioflag & IO_SYNC, cred, uio->uio_procp); + VOP_TRUNCATE(vp, osize, ioflag & IO_SYNC, cred, uio->uio_td); uio->uio_offset -= resid - uio->uio_resid; uio->uio_resid = resid; } diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9 index bd18e87..22b3df0 100644 --- a/share/man/man9/VOP_RENAME.9 +++ b/share/man/man9/VOP_RENAME.9 @@ -172,7 +172,7 @@ vop_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, * the user must have write permission in the source so * as to be able to change "..". */ - error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_proc); + error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_thread); VOP_UNLOCK(fvp); if (doingdirectory && fdvp != tdvp) { /* |