summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdiskfs/dir-init.c b/libdiskfs/dir-init.c
index 560f2f49..67dc34eb 100644
--- a/libdiskfs/dir-init.c
+++ b/libdiskfs/dir-init.c
@@ -48,7 +48,6 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred)
dp->dn_set_ctime = 1;
return err;
}
- /* Don't bother adding this to the name cache. */
pdp->dn_stat.st_nlink++; /* for `..' */
pdp->dn_set_ctime = 1;
@@ -61,7 +60,6 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred)
pdp->dn_set_ctime = 1;
return err;
}
- /* Don't bother adding this to the name cache. */
diskfs_node_update (dp, 1);
return 0;