summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-27 17:08:30 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-27 17:08:30 +0000
commitf3098be6fe38566416f85ac972bf8028980e7e02 (patch)
treefff81c16b29749d505339947f5d6df8ab8b626c5
parent52225e1d374ee68e8d7a27f8086a589b19ddc30d (diff)
(pager_unlock_page): Declare BLOCK volatile.
-rw-r--r--ext2fs/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 56120a51..ba69f00f 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -397,7 +397,7 @@ pager_unlock_page (struct user_pager_info *pager, vm_offset_t page)
else
{
error_t err;
- block_t block = page >> log2_block_size;
+ volatile block_t block = page >> log2_block_size;
struct node *node = pager->node;
struct disknode *dn = node->dn;