summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-03-17 17:10:39 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-03-17 17:10:39 +0000
commit4ac8d8749c3c0f683764189cc881f33fa76bc7ac (patch)
tree0cab1e5de5b21f6706006eeeb0ffe21663bdc56c /libdiskfs
parent75134ea1a3b0abcef75b699e5f1f09cdda1480d9 (diff)
(diskfs_init_dir): Don't do diskfs_synchronous here.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-init.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libdiskfs/dir-init.c b/libdiskfs/dir-init.c
index 04c1379c..b7dd7d57 100644
--- a/libdiskfs/dir-init.c
+++ b/libdiskfs/dir-init.c
@@ -46,8 +46,6 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred)
{
dp->dn_stat.st_nlink--;
dp->dn_set_ctime = 1;
- if (diskfs_synchronous)
- diskfs_file_update (dp, 1);
return err;
}
@@ -60,15 +58,8 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred)
{
pdp->dn_stat.st_nlink--;
pdp->dn_set_ctime = 1;
- if (diskfs_synchronous)
- {
- diskfs_node_update (pdp, 1);
- diskfs_file_update (dp, 1);
- }
return err;
}
- if (diskfs_synchronous)
- diskfs_node_update (pdp, 1);
diskfs_node_update (dp, 1);
return 0;
}