summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/ChangeLog5
-rw-r--r--libdiskfs/dir-renamed.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 8689baa7..c7ff60e8 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 6 10:05:49 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * dir-renamed.c (diskfs_rename_dir): Stage 1, if TNP == FNP, we
+ have to unlock TNP with diskfs_nput and not just diskfs_nrele it.
+
Tue Mar 16 17:20:06 1999 Thomas Bushnell, BSG <tb@mit.edu>
* lookup.c (diskfs_lookup): Reformat for prettiness.
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index d01b4f09..3d518eb9 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 1994, 95, 96, 97, 98, 1999 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -99,7 +99,7 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, const char *fromname,
if (tnp == fnp)
{
diskfs_drop_dirstat (tdp, ds);
- diskfs_nrele (tnp);
+ diskfs_nput (tnp);
mutex_unlock (&tdp->lock);
if (fdp != tdp)
mutex_unlock (&fdp->lock);