summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-07-30 03:22:52 +0000
committerjulian <julian@FreeBSD.org>1998-07-30 03:22:52 +0000
commitc9a6a4d5662904461284d3057ab281d367b33d95 (patch)
treeb4a295c642630385b7590ef27fe82f7b75ff4d6e
parentbe8869d4871edf399225fb2eee7eb694ce44fb1a (diff)
downloadFreeBSD-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.
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c2
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c2
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 &&
OpenPOWER on IntegriCloud