aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2006-11-18 10:12:43 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2006-11-18 10:12:43 +0000
commitf472c6e35adf0eb7f267a4e6a898675f9148a1fd (patch)
tree4bee6747113b31349262b81207519d7b76ce1775 /sys/compat
parentc5f3a2c1a50c90fdc824a2ffbfd28c377cb7d4c2 (diff)
Notes
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 2ac2f0b974805..4db783dceaebe 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1385,9 +1385,7 @@ linux_getpid(struct thread *td, struct linux_getpid_args *args)
td->td_retval[0] = em->shared->group_pid;
EMUL_UNLOCK(&emul_lock);
} else {
- PROC_LOCK(td->td_proc);
td->td_retval[0] = td->td_proc->p_pid;
- PROC_UNLOCK(td->td_proc);
}
return (0);