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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37966
@ -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 &&
|
||||
|
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user