diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-03-17 19:15:32 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-03-17 19:15:32 +0000 |
commit | 28020cbbb79cdf0a20fa21051f95acae2e1b1d48 (patch) | |
tree | d451f5994265e73e2d8fc13a996182ccc9c352f2 | |
parent | 994601d32c580e433032cc17e2922e803a259b0b (diff) |
(diskfs_rename_dir): If we are synchronous, update the one node our
caller doesn't have access to.
-rw-r--r-- | libdiskfs/dir-renamed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c index cdca258c..63cb5057 100644 --- a/libdiskfs/dir-renamed.c +++ b/libdiskfs/dir-renamed.c @@ -177,8 +177,8 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname, tnp->dn_set_ctime = 1; } diskfs_clear_directory (tnp, tdp, tocred); - /* diskfs_clear_directory will sync both tnp and tdp for us - if we are synchronous. */ + if (diskfs_synchronous) + diskfs_file_update (tnp, 1); } else { |