/* load header - check the image header and copy data from it  */
static int load_header(struct swsusp_info *info)
/* load header - check the image header and copy data from it  */
static int load_header(struct swsusp_info *info)
{
	int error;
	restore_pblist = NULL;
	error = check_header(info);
	if (!error) {
		nr_copy_pages = info->image_pages;
		nr_meta_pages = info->pages - info->image_pages - 1;
	}
	return error;
}