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 &&