summaryrefslogtreecommitdiff
path: root/ext2fs/hyper.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-21 18:06:55 +0000
committerMiles Bader <miles@gnu.org>1995-04-21 18:06:55 +0000
commitc7995fdc6a19a6f97911ded05ce628c0c98137f1 (patch)
tree707ea2ede424a88fea6c869ca2fbf8131cf073ce /ext2fs/hyper.c
parent85d161e348c420ace6bb968a273c623a0dedf93f (diff)
Formerly hyper.c.~10~
Diffstat (limited to 'ext2fs/hyper.c')
-rw-r--r--ext2fs/hyper.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/ext2fs/hyper.c b/ext2fs/hyper.c
index 79c1b08a..569d5bda 100644
--- a/ext2fs/hyper.c
+++ b/ext2fs/hyper.c
@@ -73,13 +73,14 @@ get_hypermetadata (void)
/* If the block size is too small, we have to take extra care when
writing out pages from the global pager, to make sure we don't stomp
on any file pager blocks. In this case use a bitmap to record which
- global blocks are actually modified so the pager can write only them.
- Since small block sizes are probably used on smaller media (to save
- space), this shouldn't be too much of a problem. */
+ global blocks are actually modified so the pager can write only them. */
{
/* One bit per filesystem block. */
- vm_allocate (mach_task_self (), (vm_address_t *)&modified_global_blocks,
- (sblock->s_blocks_count >> log2_block_size) >> 3, 1);
+ err =
+ vm_allocate (mach_task_self (),
+ (vm_address_t *)&modified_global_blocks,
+ sblock->s_blocks_count >> 3, 1);
+ assert_perror (err);
}
else
modified_global_blocks = 0;