projects/linux·commit f463589a

ext2: drop unneeded newline

f463589a · Julia Lawall <[email protected]> · 2017-12-27 15:51:37 +01:00

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]>
Commit
f463589a7cd2d156e3b6b64ee26588c0cdcce08a
Parents
d5bd8213

Changes

1 files changed · +1 −1

FileStatusAddDelContent
fs/ext2/super.cmodified+1−1View file

fs/ext2/super.c

View file
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 7646818..15f90f5 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);
}