mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
Catch up with rwatsons ucred changes.
This commit is contained in:
parent
98e53e5bfb
commit
ae19fe648c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73165
|
@ -206,7 +206,7 @@ nmdmopen(dev, flag, devtype, p)
|
|||
tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED;
|
||||
} else if (tp->t_state & TS_XCLUDE && suser(p)) {
|
||||
return (EBUSY);
|
||||
} else if (pti->pt_prison != p->p_prison) {
|
||||
} else if (pti->pt_prison != p->p_ucred->cr_prison) {
|
||||
return (EBUSY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue