diff options
author | Julian Elischer <julian@FreeBSD.org> | 1998-07-30 03:22:52 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 1998-07-30 03:22:52 +0000 |
commit | 49cc016a398c6ec7a8aab2c6a693911e99674d4e (patch) | |
tree | 1d98fa61af0bdf5e78a579303193fe6dc8e5b065 /sys/gnu | |
parent | f7aad78d24fc6fb547940b8718e9759f10ab6d36 (diff) | |
download | src-49cc016a398c6ec7a8aab2c6a693911e99674d4e.tar.gz src-49cc016a398c6ec7a8aab2c6a693911e99674d4e.zip |
add anti-panic workaround from chris radek (cradek@in221.inetnebr.com)
Not sure why this is needed but but does stop crashes.
Notes
Notes:
svn path=/head/; revision=37966
Diffstat (limited to 'sys/gnu')
-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 3dcabcb7052e..c3aab81663dd 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 3dcabcb7052e..c3aab81663dd 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 && |