summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-05-27 03:32:23 +0000
committerjulian <julian@FreeBSD.org>1998-05-27 03:32:23 +0000
commit0086b00b307188ee1a9a120c9a871f310e925d0b (patch)
tree343ce140fe76377bc0641c903f26c4b00de77128 /contrib
parentd46d8480ed1ab787c6dc98638e843a79dca8c38a (diff)
downloadFreeBSD-src-0086b00b307188ee1a9a120c9a871f310e925d0b.zip
FreeBSD-src-0086b00b307188ee1a9a120c9a871f310e925d0b.tar.gz
A fix to a debug test from Kirk.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sys/softupdates/ffs_softdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/sys/softupdates/ffs_softdep.c b/contrib/sys/softupdates/ffs_softdep.c
index 4123e33..ba565e9 100644
--- a/contrib/sys/softupdates/ffs_softdep.c
+++ b/contrib/sys/softupdates/ffs_softdep.c
@@ -54,7 +54,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_softdep.c 9.23 (McKusick) 2/20/98
- * $Id:$
+ * $Id: ffs_softdep.c,v 1.6 1998/05/19 23:07:22 julian Exp $
*/
/*
@@ -2692,6 +2692,9 @@ scan_page(bp)
break;
if (dp->d_ino == 0)
continue;
+ if (dp->d_name[0] == '.' && (dp->d_namlen == 1 ||
+ (dp->d_namlen == 2 && dp->d_name[1] == '.')))
+ continue;
if (inodedep_lookup(fs, dp->d_ino, 0, &inodedep) == 0)
continue;
if (inodedep->id_state & NEWINODE)
OpenPOWER on IntegriCloud