diff options
author | julian <julian@FreeBSD.org> | 1998-07-30 03:22:52 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-07-30 03:22:52 +0000 |
commit | c9a6a4d5662904461284d3057ab281d367b33d95 (patch) | |
tree | b4a295c642630385b7590ef27fe82f7b75ff4d6e /sys | |
parent | be8869d4871edf399225fb2eee7eb694ce44fb1a (diff) | |
download | FreeBSD-src-c9a6a4d5662904461284d3057ab281d367b33d95.zip FreeBSD-src-c9a6a4d5662904461284d3057ab281d367b33d95.tar.gz |
add anti-panic workaround from chris radek (cradek@in221.inetnebr.com)
Not sure why this is needed but but does stop crashes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 2 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 3dcabcb..c3aab81 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -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 && diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 3dcabcb..c3aab81 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -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 && |