mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
add anti-panic workaround from chris radek (cradek@in221.inetnebr.com)
Not sure why this is needed but but does stop crashes.
This commit is contained in:
parent
f7aad78d24
commit
49cc016a39
2 changed files with 4 additions and 0 deletions
|
|
@ -854,6 +854,8 @@ loop:
|
|||
goto loop;
|
||||
if (VOP_ISLOCKED(vp))
|
||||
continue;
|
||||
if (vp->v_type == VNON) /* XXX why is this needed? (it is) */
|
||||
continue;
|
||||
ip = VTOI(vp);
|
||||
if ((ip->i_flag &
|
||||
(IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
|
||||
|
|
|
|||
|
|
@ -854,6 +854,8 @@ loop:
|
|||
goto loop;
|
||||
if (VOP_ISLOCKED(vp))
|
||||
continue;
|
||||
if (vp->v_type == VNON) /* XXX why is this needed? (it is) */
|
||||
continue;
|
||||
ip = VTOI(vp);
|
||||
if ((ip->i_flag &
|
||||
(IN_ACCESS | IN_CHANGE | IN_MODIFIED | IN_UPDATE)) == 0 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue