ext2: drop unneeded newline
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 27 Dec 2017 14:51:37 +0000 (15:51 +0100)
committerJan Kara <jack@suse.cz>
Tue, 2 Jan 2018 13:42:01 +0000 (14:42 +0100)
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>
fs/ext2/super.c

index 7646818ab266ff81b86003b28f661fdbd7d9ba2f..15f90f5f3e13c278563b335e93892567acc5329b 100644 (file)
@@ -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);
        }