summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mmp.c
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2016-04-27 01:11:21 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-04-27 01:11:21 -0400
commit8d2ae1cbe8a984d7a755755fb53955de2f60a2f9 (patch)
treec4054ce7fbd132f2d6e8af11e697ea78df1b792f /fs/ext4/mmp.c
parentc8585c6fcaf2011de54c3592e80a634a2b9e1a7f (diff)
downloadlinux-stable-8d2ae1cbe8a984d7a755755fb53955de2f60a2f9.tar.gz
linux-stable-8d2ae1cbe8a984d7a755755fb53955de2f60a2f9.tar.bz2
linux-stable-8d2ae1cbe8a984d7a755755fb53955de2f60a2f9.zip
ext4: remove trailing \n from ext4_warning/ext4_error calls
Messages passed to ext4_warning() or ext4_error() don't need trailing newlines, because these function add the newlines themselves. Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Diffstat (limited to 'fs/ext4/mmp.c')
-rw-r--r--fs/ext4/mmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/mmp.c b/fs/ext4/mmp.c
index 24445275d330..23d436d6f8b8 100644
--- a/fs/ext4/mmp.c
+++ b/fs/ext4/mmp.c
@@ -121,7 +121,7 @@ void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp,
__ext4_warning(sb, function, line, "%s", msg);
__ext4_warning(sb, function, line,
"MMP failure info: last update time: %llu, last update "
- "node: %s, last update device: %s\n",
+ "node: %s, last update device: %s",
(long long unsigned int) le64_to_cpu(mmp->mmp_time),
mmp->mmp_nodename, mmp->mmp_bdevname);
}
@@ -353,7 +353,7 @@ skip:
* wait for MMP interval and check mmp_seq.
*/
if (schedule_timeout_interruptible(HZ * wait_time) != 0) {
- ext4_warning(sb, "MMP startup interrupted, failing mount\n");
+ ext4_warning(sb, "MMP startup interrupted, failing mount");
goto failed;
}