Skip to content

Commit f463589

Browse files
JuliaLawalljankara
authored andcommitted
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>
1 parent d5bd821 commit f463589

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ext2/super.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ static void ext2_clear_super_error(struct super_block *sb)
12251225
* write and hope for the best.
12261226
*/
12271227
ext2_msg(sb, KERN_ERR,
1228-
"previous I/O error to superblock detected\n");
1228+
"previous I/O error to superblock detected");
12291229
clear_buffer_write_io_error(sbh);
12301230
set_buffer_uptodate(sbh);
12311231
}

0 commit comments

Comments
 (0)