gfs2: Add a few missing newlines in messages
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 30 Jan 2018 17:32:30 +0000 (10:32 -0700)
committerBob Peterson <rpeterso@redhat.com>
Tue, 30 Jan 2018 17:32:30 +0000 (10:32 -0700)
Some of the info, warning, and error messages are missing their trailing
newline.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/lock_dlm.c
fs/gfs2/rgrp.c
fs/gfs2/sys.c

index 65f33a0ac190572fae58e7087431f3c2005824d5..006c6164f7595fdebfaa554016722ea2399924f8 100644 (file)
@@ -1091,7 +1091,7 @@ static void gdlm_recover_slot(void *arg, struct dlm_slot *slot)
 
        spin_lock(&ls->ls_recover_spin);
        if (ls->ls_recover_size < jid + 1) {
-               fs_err(sdp, "recover_slot jid %d gen %u short size %d",
+               fs_err(sdp, "recover_slot jid %d gen %u short size %d\n",
                       jid, ls->ls_recover_block, ls->ls_recover_size);
                spin_unlock(&ls->ls_recover_spin);
                return;
@@ -1153,7 +1153,7 @@ static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid,
                return;
        }
        if (ls->ls_recover_size < jid + 1) {
-               fs_err(sdp, "recovery_result jid %d short size %d",
+               fs_err(sdp, "recovery_result jid %d short size %d\n",
                       jid, ls->ls_recover_size);
                spin_unlock(&ls->ls_recover_spin);
                return;
index 078b002e0a68fd2adbda6b7b846bd7d6394d279d..8b683917a27ef87ffb53d8eb3b6a8f0877bbb400 100644 (file)
@@ -1339,7 +1339,7 @@ start_new_extent:
 
 fail:
        if (sdp->sd_args.ar_discard)
-               fs_warn(sdp, "error %d on discard request, turning discards off for this filesystem", rv);
+               fs_warn(sdp, "error %d on discard request, turning discards off for this filesystem\n", rv);
        sdp->sd_args.ar_discard = 0;
        return -EIO;
 }
index 9eb9d0a1abd98bd914cf71dbbd9296c690417ebc..c191fa58a1df0c27fa9a070b760208dac04f0080 100644 (file)
@@ -112,7 +112,7 @@ static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
        }
 
        if (error) {
-               fs_warn(sdp, "freeze %d error %d", n, error);
+               fs_warn(sdp, "freeze %d error %d\n", n, error);
                return error;
        }
 
@@ -679,7 +679,7 @@ fail_tune:
        sysfs_remove_group(&sdp->sd_kobj, &tune_group);
 fail_reg:
        free_percpu(sdp->sd_lkstats);
-       fs_err(sdp, "error %d adding sysfs files", error);
+       fs_err(sdp, "error %d adding sysfs files\n", error);
        if (sysfs_frees_sdp)
                kobject_put(&sdp->sd_kobj);
        else