summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-renamed.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-16 04:02:05 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-16 04:02:05 +0000
commit2f6cb1f6f3cbddce5973b80c5aa2392966a279dd (patch)
treeb3dae2379fc854e655607b66e6d93e1ace9bd04f /libdiskfs/dir-renamed.c
parent34ba9779fe0a67dcff37962c1fb6168b436c78cb (diff)
Formerly dir-renamed.c.~5~
Diffstat (limited to 'libdiskfs/dir-renamed.c')
-rw-r--r--libdiskfs/dir-renamed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index 1033a23d..20e012d6 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -92,7 +92,6 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
mutex_lock (&tdp->lock);
/* 1: Lookup target; if it exists, make sure it's an empty directory. */
- mutex_lock (&tdp->lock);
ds = buf;
err = diskfs_lookup (tdp, toname, RENAME, &tnp, ds, tocred);