diff options
Diffstat (limited to 'kernel/power/user.c')
-rw-r--r-- | kernel/power/user.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/power/user.c b/kernel/power/user.c index 2d8b60a3c86b..cb24e840a3e6 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c | |||
@@ -10,7 +10,6 @@ | |||
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/suspend.h> | 12 | #include <linux/suspend.h> |
13 | #include <linux/syscalls.h> | ||
14 | #include <linux/reboot.h> | 13 | #include <linux/reboot.h> |
15 | #include <linux/string.h> | 14 | #include <linux/string.h> |
16 | #include <linux/device.h> | 15 | #include <linux/device.h> |
@@ -228,9 +227,7 @@ static long snapshot_ioctl(struct file *filp, unsigned int cmd, | |||
228 | if (data->frozen) | 227 | if (data->frozen) |
229 | break; | 228 | break; |
230 | 229 | ||
231 | printk("Syncing filesystems ... "); | 230 | ksys_sync_helper(); |
232 | ksys_sync(); | ||
233 | printk("done.\n"); | ||
234 | 231 | ||
235 | error = freeze_processes(); | 232 | error = freeze_processes(); |
236 | if (error) | 233 | if (error) |