diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 19:15:29 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-02-27 19:15:29 +0000 |
| commit | bdd67d483cbcacdc50ced5ab3c25bacc3cb337ec (patch) | |
| tree | f7667a91cdb42885bddbed430d30dc655811b45d /sys/kern/vfs_lookup.c | |
| parent | 6f105b344469af92709bb97135d70a29a942ece4 (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_lookup.c')
| -rw-r--r-- | sys/kern/vfs_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index 689190b03e10..e1e6cc0c0d9a 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -104,7 +104,7 @@ namei(ndp) struct thread *td = cnp->cn_thread; struct proc *p = td->td_proc; - ndp->ni_cnd.cn_cred = ndp->ni_cnd.cn_thread->td_proc->p_ucred; + ndp->ni_cnd.cn_cred = ndp->ni_cnd.cn_thread->td_ucred; KASSERT(cnp->cn_cred && p, ("namei: bad cred/proc")); KASSERT((cnp->cn_nameiop & (~OPMASK)) == 0, ("namei: nameiop contaminated with flags")); |
