summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ifs
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1998-09-23 05:37:35 +0000
committernate <nate@FreeBSD.org>1998-09-23 05:37:35 +0000
commitc241d61f20b8569d3c69dd034b5eae314034284d (patch)
tree6e5fb4b8daf93db331d1276f051f9aa6bad1947a /sbin/fsck_ifs
parent3aba1dc21e37c7579fbad8db9d4257a2c0217ec3 (diff)
downloadFreeBSD-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/fsck_ifs')
-rw-r--r--sbin/fsck_ifs/dir.c4
1 files changed, 1 insertions, 3 deletions
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;
OpenPOWER on IntegriCloud