diff options
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r-- | ext2fs/inode.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index c889aa06..7704edbd 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -517,8 +517,11 @@ void diskfs_write_disknode (struct node *np, int wait) { struct ext2_inode *di = write_node (np); - if (di && wait) - sync_global_ptr (di, 1); + if (di) + if (wait) + sync_global_ptr (di, 1); + else + record_global_poke (di); } /* Set *ST with appropriate values to reflect the current state of the |