aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-03-05 19:45:45 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-03-05 19:45:45 +0000
commit89e1164ee22c2d989c9ee92c88d7b0cac3b640ca (patch)
treeb79d8bd4ba6b9b1da07a5bbfd27435bbace9adad /sys/kern/vfs_extattr.c
parenteb1c57d87293f51ce8b71a87834fbc5afb471007 (diff)
downloadsrc-89e1164ee22c2d989c9ee92c88d7b0cac3b640ca.tar.gz
src-89e1164ee22c2d989c9ee92c88d7b0cac3b640ca.zip
Three p_ucred -> td_ucred's missed in jhb's earlier pass; all appear to
be safe.
Notes
Notes: svn path=/head/; revision=91709
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 81e86ce8dedd..fd2260269f88 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -4143,12 +4143,12 @@ extattr_get_vp(struct vnode *vp, int attrnamespace, const char *attrname,
auio.uio_td = td;
cnt = nbytes;
error = VOP_GETEXTATTR(vp, attrnamespace, attrname, &auio,
- NULL, td->td_proc->p_ucred, td);
+ NULL, td->td_ucred, td);
cnt -= auio.uio_resid;
td->td_retval[0] = cnt;
} else {
error = VOP_GETEXTATTR(vp, attrnamespace, attrname, NULL,
- &size, td->td_proc->p_ucred, td);
+ &size, td->td_ucred, td);
td->td_retval[0] = size;
}
done: