Commit af38816e authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Bob Peterson

gfs2: Add a few missing newlines in messages

Some of the info, warning, and error messages are missing their trailing
newline.
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 957a7acd
...@@ -1091,7 +1091,7 @@ static void gdlm_recover_slot(void *arg, struct dlm_slot *slot) ...@@ -1091,7 +1091,7 @@ static void gdlm_recover_slot(void *arg, struct dlm_slot *slot)
spin_lock(&ls->ls_recover_spin); spin_lock(&ls->ls_recover_spin);
if (ls->ls_recover_size < jid + 1) { 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); jid, ls->ls_recover_block, ls->ls_recover_size);
spin_unlock(&ls->ls_recover_spin); spin_unlock(&ls->ls_recover_spin);
return; return;
...@@ -1153,7 +1153,7 @@ static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid, ...@@ -1153,7 +1153,7 @@ static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid,
return; return;
} }
if (ls->ls_recover_size < jid + 1) { 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); jid, ls->ls_recover_size);
spin_unlock(&ls->ls_recover_spin); spin_unlock(&ls->ls_recover_spin);
return; return;
......
...@@ -1339,7 +1339,7 @@ int gfs2_rgrp_send_discards(struct gfs2_sbd *sdp, u64 offset, ...@@ -1339,7 +1339,7 @@ int gfs2_rgrp_send_discards(struct gfs2_sbd *sdp, u64 offset,
fail: fail:
if (sdp->sd_args.ar_discard) 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; sdp->sd_args.ar_discard = 0;
return -EIO; return -EIO;
} }
......
...@@ -112,7 +112,7 @@ static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) ...@@ -112,7 +112,7 @@ static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
} }
if (error) { if (error) {
fs_warn(sdp, "freeze %d error %d", n, error); fs_warn(sdp, "freeze %d error %d\n", n, error);
return error; return error;
} }
...@@ -679,7 +679,7 @@ int gfs2_sys_fs_add(struct gfs2_sbd *sdp) ...@@ -679,7 +679,7 @@ int gfs2_sys_fs_add(struct gfs2_sbd *sdp)
sysfs_remove_group(&sdp->sd_kobj, &tune_group); sysfs_remove_group(&sdp->sd_kobj, &tune_group);
fail_reg: fail_reg:
free_percpu(sdp->sd_lkstats); 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) if (sysfs_frees_sdp)
kobject_put(&sdp->sd_kobj); kobject_put(&sdp->sd_kobj);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment