mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
ifdef out pg_jobc assertions added in r361967
They trigger for some people, the bug is not obvious, there are no takers for fixing it, the issue already had to be there for years beforehand and is low priority.
This commit is contained in:
parent
eddfb2e86f
commit
58199a7052
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362910
@ -731,10 +731,14 @@ pgadjustjobc(struct pgrp *pgrp, int entering)
|
||||
|
||||
PGRP_LOCK(pgrp);
|
||||
if (entering) {
|
||||
#ifdef notyet
|
||||
MPASS(pgrp->pg_jobc >= 0);
|
||||
#endif
|
||||
pgrp->pg_jobc++;
|
||||
} else {
|
||||
#ifdef notyet
|
||||
MPASS(pgrp->pg_jobc > 0);
|
||||
#endif
|
||||
--pgrp->pg_jobc;
|
||||
if (pgrp->pg_jobc == 0)
|
||||
orphanpg(pgrp);
|
||||
|
Loading…
Reference in New Issue
Block a user