diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-03-17 17:09:56 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-03-17 17:09:56 +0000 |
commit | 75134ea1a3b0abcef75b699e5f1f09cdda1480d9 (patch) | |
tree | 229abd5dd9d7d15c95bf7d4bce61f40548e58a34 | |
parent | e9c81bf867e05364605f39d5e2c51566047543a2 (diff) |
(diskfs_clear_directory): Don't to diskfs_synchronous here.
-rw-r--r-- | libdiskfs/dir-clear.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c index 780877df..9d5a6ea0 100644 --- a/libdiskfs/dir-clear.c +++ b/libdiskfs/dir-clear.c @@ -35,8 +35,6 @@ diskfs_clear_directory (struct node *dp, err = diskfs_dirremove (dp, ds); else diskfs_drop_dirstat (dp, ds); - if (diskfs_synchronous) - diskfs_file_update (dp, 1); if (err) return err; @@ -51,8 +49,6 @@ diskfs_clear_directory (struct node *dp, err = diskfs_dirremove (dp, ds); else diskfs_drop_dirstat (dp, ds); - if (diskfs_synchronous) - diskfs_file_update (dp, 1); if (err) return err; @@ -60,12 +56,7 @@ diskfs_clear_directory (struct node *dp, pdp->dn_stat.st_nlink--; pdp->dn_set_ctime = 1; - if (diskfs_synchronous) - diskfs_node_update (pdp, 1); - diskfs_truncate (dp, 0); - if (diskfs_synchronous) - diskfs_file_update (dp, 1); return err; } |