summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-init.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-20 20:44:50 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-20 20:44:50 +0000
commit8719187eb4b40eae9bcae2dda03795d84479eb18 (patch)
treeea0f7853746926da6ec15825bbf1bc766cae5840 /libdiskfs/dir-init.c
parent5ca7824472501db0dc46e2d4ff81616be7ac1c6d (diff)
(diskfs_init_dir): Doc fixes.
Diffstat (limited to 'libdiskfs/dir-init.c')
-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;