(2013/10/15 14:58), HATAYAMA Daisuke wrote: > (2013/10/14 21:16), Jingbai Ma wrote: > <cut> >> @@ -2793,7 +2806,7 @@ initialize_bitmap_memory(void) >> bmp->offset = bitmap_offset + bitmap_len / 2; >> info->bitmap_memory = bmp; >> >> - max_sect_len = divideup(dh->max_mapnr, BITMAP_SECT_LEN); >> + max_sect_len = divideup(kh->max_mapnr_64, BITMAP_SECT_LEN); >> info->valid_pages = calloc(sizeof(ulong), max_sect_len); > > Ah, please here needs to be fixed, too. Here should have been > used sizeof(int) but now sizeof(off_t) should be used. > This is wrong. Please ignore. -- Thanks. HATAYAMA, Daisuke