[PATCH 1/6] power: hibernate: Use separate messages for "Syncing filesystems"

Joe Perches
2015-06-04T18:37:03Z

Add the ability to see how long it takes to sync the filesystems
via the printk time mechanism.

Start to standardize the printk "PM: doing something...done"
messages on two separate lines.

Signed-off-by: Joe Perches <joe@perches.com>
---
kernel/power/hibernate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index 2329daa..2466d78 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -663,9 +663,9 @@ int hibernate(void)
if (error)
goto Exit;

- printk(KERN_INFO "PM: Syncing filesystems ... ");
+ printk(KERN_INFO "PM: Syncing filesystems ...\n");
sys_sync();
- printk("done.\n");
+ printk(KERN_INFO "PM: Syncing filesystems: done\n");

error = freeze_processes();
if (error)
--
2.1.2