summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-renamed.c
diff options
context:
space:
mode:
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 70ce1ba2..d994772f 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -132,7 +132,6 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
&tmpnp, tmpds, fromcred);
assert (err != ENOENT);
assert (tmpnp == fdp);
- diskfs_nrele (tmpnp);
if (err)
{
diskfs_drop_dirstat (fnp, tmpds);