diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-04-16 19:19:57 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-04-16 19:19:57 +0000 |
commit | 1acfd91623d3565addb6d01b68f2cfda52cbb131 (patch) | |
tree | b9c07006e8125d2da1033cd1440ceafcda0020e0 /ufs | |
parent | 1da83cd874f945720b3ee399c6933e9bc5323361 (diff) |
(diskfs_write_disknode): Only do sync if WAIT is set.
Diffstat (limited to 'ufs')
-rw-r--r-- | ufs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ufs/inode.c b/ufs/inode.c index e4b26f81..88f89a37 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -479,7 +479,8 @@ void diskfs_write_disknode (struct node *np, int wait) { write_node (np); - sync_dinode (np->dn->number, wait); + if (wait) + sync_dinode (np->dn->number, 1); } /* Implement the diskfs_set_statfs callback from the diskfs library; |