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 0ef5e4ba39e5..2e4499f3e4d9 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c | |||
@@ -193,6 +193,7 @@ static int snapshot_ioctl(struct inode *inode, struct file *filp, | |||
193 | error = -EPERM; | 193 | error = -EPERM; |
194 | break; | 194 | break; |
195 | } | 195 | } |
196 | snapshot_free_unused_memory(&data->handle); | ||
196 | down(&pm_sem); | 197 | down(&pm_sem); |
197 | pm_prepare_console(); | 198 | pm_prepare_console(); |
198 | error = device_suspend(PMSG_FREEZE); | 199 | error = device_suspend(PMSG_FREEZE); |