diff options
Diffstat (limited to 'kernel/power/user.c')
| -rw-r--r-- | kernel/power/user.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/user.c b/kernel/power/user.c index 24850270c802..98d357584cd6 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c | |||
| @@ -70,6 +70,7 @@ static int snapshot_open(struct inode *inode, struct file *filp) | |||
| 70 | data->swap = swsusp_resume_device ? | 70 | data->swap = swsusp_resume_device ? |
| 71 | swap_type_of(swsusp_resume_device, 0, NULL) : -1; | 71 | swap_type_of(swsusp_resume_device, 0, NULL) : -1; |
| 72 | data->mode = O_RDONLY; | 72 | data->mode = O_RDONLY; |
| 73 | data->free_bitmaps = false; | ||
| 73 | error = pm_notifier_call_chain(PM_HIBERNATION_PREPARE); | 74 | error = pm_notifier_call_chain(PM_HIBERNATION_PREPARE); |
| 74 | if (error) | 75 | if (error) |
| 75 | pm_notifier_call_chain(PM_POST_HIBERNATION); | 76 | pm_notifier_call_chain(PM_POST_HIBERNATION); |
