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:
Mateusz Guzik 2020-07-03 09:23:11 +00:00
parent eddfb2e86f
commit 58199a7052
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362910

View File

@ -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);