[PATCH 3/6] power: suspend: Standardize "Syncing filesystems" messages

From: Joe Perches
Date: Thu Jun 04 2015 - 14:38:21 EST


Always emit the "Syncing filesystems" on 2 separate lines so
that these messages can't be interleaved.

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

diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c
index 53266b7..c3fec97 100644
--- a/kernel/power/suspend.c
+++ b/kernel/power/suspend.c
@@ -485,9 +485,9 @@ static int enter_state(suspend_state_t state)
freeze_begin();

trace_suspend_resume(TPS("sync_filesystems"), 0, true);
- 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");
trace_suspend_resume(TPS("sync_filesystems"), 0, false);

pr_debug("PM: Preparing system for sleep (%s)\n", pm_states[state]);
--
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/