ext2: drop unneeded newline

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/f463589a7cd2d156e3b6b64ee26588c0cdcce08a
Commit:     f463589a7cd2d156e3b6b64ee26588c0cdcce08a
Parent:     d5bd821350e69f5f464c175455135727f986f793
Refname:    refs/heads/master
Author:     Julia Lawall <[email protected]>
AuthorDate: Wed Dec 27 15:51:37 2017 +0100
Committer:  Jan Kara <[email protected]>
CommitDate: Tue Jan 2 14:42:01 2018 +0100

    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 <[email protected]>
    Signed-off-by: Julia Lawall <[email protected]>
    Signed-off-by: Jan Kara <[email protected]>
---
 fs/ext2/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 7646818ab266..15f90f5f3e13 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);
 	}
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.