aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-02-27 18:32:23 +0000
commita854ed98931b2e365eddd24cd2a1bb53a3f1828f (patch)
treede74317436bc6bf8211535e1dbda3f6762d05582 /sys/compat/linux/linux_file.c
parent65e3406d28b159fab93b499d25ed079b2c978ff7 (diff)
downloadsrc-a854ed98931b2e365eddd24cd2a1bb53a3f1828f.tar.gz
src-a854ed98931b2e365eddd24cd2a1bb53a3f1828f.zip
Simple p_ucred -> td_ucred changes to start using the per-thread ucred
reference.
Notes
Notes: svn path=/head/; revision=91406
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index dd4f219a3eb2..0d9273e47792 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -285,7 +285,7 @@ getdents_common(struct thread *td, struct linux_getdents64_args *args,
return (EINVAL);
}
- if ((error = VOP_GETATTR(vp, &va, td->td_proc->p_ucred, td))) {
+ if ((error = VOP_GETATTR(vp, &va, td->td_ucred, td))) {
fdrop(fp, td);
return (error);
}