summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-12-21 04:14:24 +0000
committerRoland McGrath <roland@gnu.org>1998-12-21 04:14:24 +0000
commit1e0aba79db121c4db4a377517933eb70e0fdeadb (patch)
treed02272926c267f48ae25e94984ef1b973f4a29d1 /ext2fs/inode.c
parent67f110517e3e39ab196c88b724b23faed89628c8 (diff)
1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
* inode.c (diskfs_write_disknode): Add braces to silence warning. * pager.c (file_pager_read_page): Likewise.
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