summaryrefslogtreecommitdiff
path: root/ext2fs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/dir.c')
-rw-r--r--ext2fs/dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/dir.c b/ext2fs/dir.c
index d70dbf32..714c1b7c 100644
--- a/ext2fs/dir.c
+++ b/ext2fs/dir.c
@@ -690,7 +690,7 @@ diskfs_direnter_hard (struct node *dp, const char *name, struct node *np,
}
}
- diskfs_file_update (dp, 1);
+ diskfs_file_update (dp, diskfs_synchronous);
return 0;
}
@@ -727,7 +727,7 @@ diskfs_dirremove_hard (struct node *dp, struct dirstat *ds)
if (dp->dn->dirents && dp->dn->dirents[ds->idx] != -1)
dp->dn->dirents[ds->idx]--;
- diskfs_file_update (dp, 1);
+ diskfs_file_update (dp, diskfs_synchronous);
return 0;
}
@@ -753,7 +753,7 @@ diskfs_dirrewrite_hard (struct node *dp, struct node *np, struct dirstat *ds)
munmap ((caddr_t) ds->mapbuf, ds->mapextent);
- diskfs_file_update (dp, 1);
+ diskfs_file_update (dp, diskfs_synchronous);
return 0;
}