summaryrefslogtreecommitdiff
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-06 19:31:28 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-06 19:31:28 +0000
commite649887b1e67b5fdc489ebf9e42579754201625c (patch)
tree2b65f57e5ea93f67973ae506e853d0b56f0f9adc /sys/kern/kern_proc.c
parent567f4af63d87cb1b0390cc202028de23c115b3de (diff)
Notes
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r--sys/kern/kern_proc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 2dde10861ced..8f923319fa03 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -474,16 +474,13 @@ pgdelete(pgrp)
PGRP_LOCK_ASSERT(pgrp, MA_NOTOWNED);
SESS_LOCK_ASSERT(pgrp->pg_session, MA_NOTOWNED);
- SIGIO_LOCK();
- PGRP_LOCK(pgrp);
-
/*
* Reset any sigio structures pointing to us as a result of
* F_SETOWN with our pgid.
*/
funsetownlst(&pgrp->pg_sigiolst);
- SIGIO_UNLOCK();
+ PGRP_LOCK(pgrp);
if (pgrp->pg_session->s_ttyp != NULL &&
pgrp->pg_session->s_ttyp->t_pgrp == pgrp)
pgrp->pg_session->s_ttyp->t_pgrp = NULL;