From c7995fdc6a19a6f97911ded05ce628c0c98137f1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 21 Apr 1995 18:06:55 +0000 Subject: Formerly hyper.c.~10~ --- ext2fs/hyper.c | 11 ++++++----- 1 file 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; -- cgit v1.2.3