aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 68962037..92b00ad9 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -578,10 +578,12 @@ diskfs_write_disknode (struct node *np, int wait)
{
struct ext2_inode *di = write_node (np);
if (di)
- if (wait)
- sync_global_ptr (di, 1);
- else
- record_global_poke (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