Return to spec_vnops.c CVS log | Up to [cvs.NetBSD.org] / src / sys / miscfs / specfs |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.73, 2003/11/25 12:52:10 | version 1.74, 2003/11/26 11:33:50 | ||
---|---|---|---|
|
|
||
vp == (sess = ap->a_p->p_session)->s_ttyvp) { | vp == (sess = ap->a_p->p_session)->s_ttyvp) { | ||
sess->s_ttyvp = NULL; | sess->s_ttyvp = NULL; | ||
if (sess->s_ttyp->t_session != NULL) { | if (sess->s_ttyp->t_session != NULL) { | ||
if (sess->s_ttyp->t_pgrp == NULL) | |||
panic("spec_close: no pgrp"); | |||
sess->s_ttyp->t_pgrp = NULL; | sess->s_ttyp->t_pgrp = NULL; | ||
sess->s_ttyp->t_session = NULL; | sess->s_ttyp->t_session = NULL; | ||
SESSRELE(sess); | SESSRELE(sess); |