Skip to content

Commit

Permalink
ext2: drop unneeded newline
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
JuliaLawall authored and jankara committed Jan 2, 2018
1 parent d5bd821 commit f463589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext2/super.c
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit f463589

Please sign in to comment.