diff options
author | nate <nate@FreeBSD.org> | 1998-09-23 05:37:35 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1998-09-23 05:37:35 +0000 |
commit | c241d61f20b8569d3c69dd034b5eae314034284d (patch) | |
tree | 6e5fb4b8daf93db331d1276f051f9aa6bad1947a /sbin | |
parent | 3aba1dc21e37c7579fbad8db9d4257a2c0217ec3 (diff) | |
download | FreeBSD-src-c241d61f20b8569d3c69dd034b5eae314034284d.zip FreeBSD-src-c241d61f20b8569d3c69dd034b5eae314034284d.tar.gz |
- Back out softupdate change that already existed in FreeBSD from V1.6,
which caused the reference count of a directory to get doubly
decremented.
PR: bin/8030
Reviewed by: nate
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck/dir.c | 4 | ||||
-rw-r--r-- | sbin/fsck_ffs/dir.c | 4 | ||||
-rw-r--r-- | sbin/fsck_ifs/dir.c | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/sbin/fsck/dir.c b/sbin/fsck/dir.c index 7b22b17..91b507f 100644 --- a/sbin/fsck/dir.c +++ b/sbin/fsck/dir.c @@ -36,7 +36,7 @@ static const char sccsid[] = "@(#)dir.c 8.8 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: dir.c,v 1.10 1998/06/15 07:07:10 charnier Exp $"; + "$Id: dir.c,v 1.11 1998/06/28 19:23:02 bde Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -417,8 +417,6 @@ linkup(orphan, parentdir) else if (reply("RECONNECT") == 0) return (0); - if (parentdir != 0) - lncntp[parentdir]++; if (lfdir == 0) { dp = ginode(ROOTINO); idesc.id_name = lfname; diff --git a/sbin/fsck_ffs/dir.c b/sbin/fsck_ffs/dir.c index 7b22b17..91b507f 100644 --- a/sbin/fsck_ffs/dir.c +++ b/sbin/fsck_ffs/dir.c @@ -36,7 +36,7 @@ static const char sccsid[] = "@(#)dir.c 8.8 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: dir.c,v 1.10 1998/06/15 07:07:10 charnier Exp $"; + "$Id: dir.c,v 1.11 1998/06/28 19:23:02 bde Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -417,8 +417,6 @@ linkup(orphan, parentdir) else if (reply("RECONNECT") == 0) return (0); - if (parentdir != 0) - lncntp[parentdir]++; if (lfdir == 0) { dp = ginode(ROOTINO); idesc.id_name = lfname; diff --git a/sbin/fsck_ifs/dir.c b/sbin/fsck_ifs/dir.c index 7b22b17..91b507f 100644 --- a/sbin/fsck_ifs/dir.c +++ b/sbin/fsck_ifs/dir.c @@ -36,7 +36,7 @@ static const char sccsid[] = "@(#)dir.c 8.8 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id: dir.c,v 1.10 1998/06/15 07:07:10 charnier Exp $"; + "$Id: dir.c,v 1.11 1998/06/28 19:23:02 bde Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -417,8 +417,6 @@ linkup(orphan, parentdir) else if (reply("RECONNECT") == 0) return (0); - if (parentdir != 0) - lncntp[parentdir]++; if (lfdir == 0) { dp = ginode(ROOTINO); idesc.id_name = lfname; |