diff options
-rw-r--r-- | libdiskfs/dir-init.c | 9 |
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; } |