diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-21 04:14:24 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-21 04:14:24 +0000 |
commit | 1e0aba79db121c4db4a377517933eb70e0fdeadb (patch) | |
tree | d02272926c267f48ae25e94984ef1b973f4a29d1 /ext2fs/inode.c | |
parent | 67f110517e3e39ab196c88b724b23faed89628c8 (diff) | |
download | hurd-1e0aba79db121c4db4a377517933eb70e0fdeadb.tar.gz hurd-1e0aba79db121c4db4a377517933eb70e0fdeadb.tar.bz2 hurd-1e0aba79db121c4db4a377517933eb70e0fdeadb.zip |
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.c | 10 |
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 |