summary refs log tree commit diff
path: root/fs/ext2
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2017-12-27 15:51:37 +0100
committerJan Kara <jack@suse.cz>2018-01-02 14:42:01 +0100
commitf463589a7cd2d156e3b6b64ee26588c0cdcce08a (patch)
tree1d3e1226de65e14748fcc607f42009e12d05f1c4 /fs/ext2
parentd5bd821350e69f5f464c175455135727f986f793 (diff)
downloadlinux-f463589a7cd2d156e3b6b64ee26588c0cdcce08a.tar.gz
ext2: drop unneeded newline
ext2_msg prints a newline at the end of the message string, so the message
string does not need to include a newline explicitly.  Done using
Coccinelle.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 7646818ab266..15f90f5f3e13 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -1225,7 +1225,7 @@ static void ext2_clear_super_error(struct super_block *sb)
 		 * write and hope for the best.
 		 */
 		ext2_msg(sb, KERN_ERR,
-		       "previous I/O error to superblock detected\n");
+		       "previous I/O error to superblock detected");
 		clear_buffer_write_io_error(sbh);
 		set_buffer_uptodate(sbh);
 	}