lkml.org 
[lkml]   [2015]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/6] power: user: Standardize "Syncing filesystems ..." message
    Date
    Instead of a two individual printks that would generally be
    emitted on a single line, emit 2 lines to make the start
    and end of the synchronization more easily timeable.

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

    diff --git a/kernel/power/user.c b/kernel/power/user.c
    index 526e891..e22f6ad 100644
    --- a/kernel/power/user.c
    +++ b/kernel/power/user.c
    @@ -221,9 +221,9 @@ static long snapshot_ioctl(struct file *filp, unsigned int cmd,
    if (data->frozen)
    break;

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

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


    \
     
     \ /
      Last update: 2015-06-04 21:01    [W:4.289 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site