|
@@ -70,6 +70,7 @@ static int snapshot_open(struct inode *inode, struct file *filp)
|
|
|
data->swap = swsusp_resume_device ?
|
|
|
swap_type_of(swsusp_resume_device, 0, NULL) : -1;
|
|
|
data->mode = O_RDONLY;
|
|
|
+ data->free_bitmaps = false;
|
|
|
error = pm_notifier_call_chain(PM_HIBERNATION_PREPARE);
|
|
|
if (error)
|
|
|
pm_notifier_call_chain(PM_POST_HIBERNATION);
|