- 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>
This commit is contained in:
parent
b078a935b6
commit
e4b74ed73c
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user