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.
Unified · Split
| @@ -1225,7 +1225,7 @@ static void ext2_clear_super_error(struct super_block *sb) · 1224 unmodified lines | ||
| 1225 | 1225 | * write and hope for the best. |
| 1226 | 1226 | */ |
| 1227 | 1227 | ext2_msg(sb, KERN_ERR, |
| 1228 | − "previous I/O error to superblock detected\n"); | |
| 1228 | + "previous I/O error to superblock detected"); | |
| 1229 | 1229 | clear_buffer_write_io_error(sbh); |
| 1230 | 1230 | set_buffer_uptodate(sbh); |
| 1231 | 1231 | } |