summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-03 18:12:48 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-03 18:12:48 +0000
commitae6ce81e87ad7326c618b2130368cec1fc295cc8 (patch)
tree7c7a92981e2aa4d11ab09733f6f83ac1d9ac6604
parent5b5ce16377e326e151bc0327601100931332d987 (diff)
(block_extended): more fixup
-rw-r--r--ufs/sizes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c
index af765945..f98ceb94 100644
--- a/ufs/sizes.c
+++ b/ufs/sizes.c
@@ -410,13 +410,13 @@ block_extended (struct node *np,
spin_unlock (&unlocked_pagein_lock);
/* Make sure all waiting pageins see this change. */
- mutex_lock (&np->dn->allocptrlock->master);
- condition_broadcast (&np->dn->allocptrlock->wakeup);
- mutex_unlock (&np->dn->allocptrlock->master);
+ mutex_lock (&np->dn->allocptrlock.master);
+ condition_broadcast (&np->dn->allocptrlock.wakeup);
+ mutex_unlock (&np->dn->allocptrlock.master);
/* Force the pages in core and make sure they are dirty */
for (pokeaddr = (int *)mapaddr;
- pokeaddr < mapaddr + round_page (old_size);
+ pokeaddr < (int *) (mapaddr + round_page (old_size));
pokeaddr += vm_page_size / sizeof (*pokeaddr))
*pokeaddr = *pokeaddr;