mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 08:41:30 -04: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue