summaryrefslogtreecommitdiff
path: root/ufs/alloc.c
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
commit0edb2ee581f7aab5465e66a54fb3ef194024c925 (patch)
tree4c3e5e8ff3af7f4ba17a59615e90115035ac55e0 /ufs/alloc.c
parentb1e12bdc4727ad7fdf1a468c5c6fcee82ec50b40 (diff)
More typos.
Diffstat (limited to 'ufs/alloc.c')
-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); */
}