summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-03-17 19:37:52 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-03-17 19:37:52 +0000
commitbb2bd7c4d2c7e834529383b0036373faf4cd035d (patch)
treeefbbc34088d1b6228614ee41d9c32d5fdfa0e1a3
parent08eb992b1fdc4285ca49b31fb51a0a844ba03c42 (diff)
More typos.
-rw-r--r--ufs/alloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ufs/alloc.c b/ufs/alloc.c
index 39344501..87b0b45a 100644
--- a/ufs/alloc.c
+++ b/ufs/alloc.c
@@ -76,15 +76,15 @@ static daddr_t ffs_mapsearch (struct fs *, struct cg *, daddr_t, int);
static void ffs_clusteracct (struct fs *, struct cg *, daddr_t, int);
/* Sync all allocation information and nod eNP if diskfs_synchronous. */
-inline
+inline void
alloc_sync (struct node *np)
{
- if (diskfs_syncronous)
+ if (diskfs_synchronous)
{
if (np)
diskfs_node_update (np, 1);
copy_sblock ();
- diskfs_set_dypermetadata (1, 0);
+ diskfs_set_hypermetadata (1, 0);
sync_disk (1);
}
}
@@ -1382,7 +1382,7 @@ diskfs_free_node (struct node *np, mode_t mode)
csum_dirty = 1;
sblock_dirty = 1;
fs->fs_fmod = 1;
- alloc_sync (np, 1);
+ alloc_sync (np);
/* bdwrite(bp); */
}