diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-01-30 12:32:30 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2018-01-30 12:32:30 -0500 |
commit | af38816e4801d2868258085831172a003d1634ff (patch) | |
tree | b6359eb1200ec4e56375b8bd0756926725308e70 | |
parent | 957a7acd46e64c52d2a1d59cd7273ed49455afb6 (diff) |
gfs2: Add a few missing newlines in messages
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>
-rw-r--r-- | fs/gfs2/lock_dlm.c | 4 | ||||
-rw-r--r-- | fs/gfs2/rgrp.c | 2 | ||||
-rw-r--r-- | fs/gfs2/sys.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/fs/gfs2/lock_dlm.c b/fs/gfs2/lock_dlm.c index 65f33a0ac190..006c6164f759 100644 --- a/fs/gfs2/lock_dlm.c +++ b/fs/gfs2/lock_dlm.c | |||
@@ -1091,7 +1091,7 @@ static void gdlm_recover_slot(void *arg, struct dlm_slot *slot) | |||
1091 | 1091 | ||
1092 | spin_lock(&ls->ls_recover_spin); | 1092 | spin_lock(&ls->ls_recover_spin); |
1093 | if (ls->ls_recover_size < jid + 1) { | 1093 | if (ls->ls_recover_size < jid + 1) { |
1094 | fs_err(sdp, "recover_slot jid %d gen %u short size %d", | 1094 | fs_err(sdp, "recover_slot jid %d gen %u short size %d\n", |
1095 | jid, ls->ls_recover_block, ls->ls_recover_size); | 1095 | jid, ls->ls_recover_block, ls->ls_recover_size); |
1096 | spin_unlock(&ls->ls_recover_spin); | 1096 | spin_unlock(&ls->ls_recover_spin); |
1097 | return; | 1097 | return; |
@@ -1153,7 +1153,7 @@ static void gdlm_recovery_result(struct gfs2_sbd *sdp, unsigned int jid, | |||
1153 | return; | 1153 | return; |
1154 | } | 1154 | } |
1155 | if (ls->ls_recover_size < jid + 1) { | 1155 | if (ls->ls_recover_size < jid + 1) { |
1156 | fs_err(sdp, "recovery_result jid %d short size %d", | 1156 | fs_err(sdp, "recovery_result jid %d short size %d\n", |
1157 | jid, ls->ls_recover_size); | 1157 | jid, ls->ls_recover_size); |
1158 | spin_unlock(&ls->ls_recover_spin); | 1158 | spin_unlock(&ls->ls_recover_spin); |
1159 | return; | 1159 | return; |
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 078b002e0a68..8b683917a27e 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c | |||
@@ -1339,7 +1339,7 @@ start_new_extent: | |||
1339 | 1339 | ||
1340 | fail: | 1340 | fail: |
1341 | if (sdp->sd_args.ar_discard) | 1341 | if (sdp->sd_args.ar_discard) |
1342 | fs_warn(sdp, "error %d on discard request, turning discards off for this filesystem", rv); | 1342 | fs_warn(sdp, "error %d on discard request, turning discards off for this filesystem\n", rv); |
1343 | sdp->sd_args.ar_discard = 0; | 1343 | sdp->sd_args.ar_discard = 0; |
1344 | return -EIO; | 1344 | return -EIO; |
1345 | } | 1345 | } |
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index 9eb9d0a1abd9..c191fa58a1df 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -112,7 +112,7 @@ static ssize_t freeze_store(struct gfs2_sbd *sdp, const char *buf, size_t len) | |||
112 | } | 112 | } |
113 | 113 | ||
114 | if (error) { | 114 | if (error) { |
115 | fs_warn(sdp, "freeze %d error %d", n, error); | 115 | fs_warn(sdp, "freeze %d error %d\n", n, error); |
116 | return error; | 116 | return error; |
117 | } | 117 | } |
118 | 118 | ||
@@ -679,7 +679,7 @@ fail_tune: | |||
679 | sysfs_remove_group(&sdp->sd_kobj, &tune_group); | 679 | sysfs_remove_group(&sdp->sd_kobj, &tune_group); |
680 | fail_reg: | 680 | fail_reg: |
681 | free_percpu(sdp->sd_lkstats); | 681 | free_percpu(sdp->sd_lkstats); |
682 | fs_err(sdp, "error %d adding sysfs files", error); | 682 | fs_err(sdp, "error %d adding sysfs files\n", error); |
683 | if (sysfs_frees_sdp) | 683 | if (sysfs_frees_sdp) |
684 | kobject_put(&sdp->sd_kobj); | 684 | kobject_put(&sdp->sd_kobj); |
685 | else | 685 | else |