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:
Julian Elischer 1998-07-30 03:22:52 +00:00
parent f7aad78d24
commit 49cc016a39
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37966
2 changed files with 4 additions and 0 deletions

View File

@ -854,6 +854,8 @@ ext2_sync(mp, waitfor, cred, p)
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 &&

View File

@ -854,6 +854,8 @@ ext2_sync(mp, waitfor, cred, p)
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 &&