diff options
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r-- | kernel/power/disk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c index 9348d95a4fb8..555c0f0b2f7e 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c | |||
@@ -313,6 +313,10 @@ int hibernate(void) | |||
313 | if (error) | 313 | if (error) |
314 | goto Exit; | 314 | goto Exit; |
315 | 315 | ||
316 | printk("Syncing filesystems ... "); | ||
317 | sys_sync(); | ||
318 | printk("done.\n"); | ||
319 | |||
316 | error = prepare_processes(); | 320 | error = prepare_processes(); |
317 | if (error) | 321 | if (error) |
318 | goto Finish; | 322 | goto Finish; |