summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-renamed.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index fb771765..290b3b40 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -86,9 +86,6 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
}
tdp->dn_stat.st_nlink++;
tdp->dn_set_ctime = 1;
- err = diskfs_checkdirmod (fnp, fdp, fromcred);
- if (err)
- goto out;
tmpds = alloca (diskfs_dirstat_size);
err = diskfs_lookup (fnp, "..", RENAME | SPEC_DOTDOT,