summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuís Henriques <lhenriques@suse.de>2022-10-11 16:57:58 +0100
committerTheodore Ts'o <tytso@mit.edu>2022-12-08 21:49:23 -0500
commit78742d4d056df7d2fad241c90185d281bf924844 (patch)
tree6aebaec15fa79b8c734a1ba6100d9744c5934e22
parentd87a7b4c77a997d5388566dd511ca8e6b8e8a0a8 (diff)
ext4: remove trailing newline from ext4_msg() message
The ext4_msg() function adds a new line to the message. Remove extra '\n' from call to ext4_msg() in ext4_orphan_cleanup(). Signed-off-by: Luís Henriques <lhenriques@suse.de> Link: https://lore.kernel.org/r/20221011155758.15287-1-lhenriques@suse.de Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
-rw-r--r--fs/ext4/orphan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/orphan.c b/fs/ext4/orphan.c
index 69a9cf9137a6..e5b47dda3317 100644
--- a/fs/ext4/orphan.c
+++ b/fs/ext4/orphan.c
@@ -412,7 +412,7 @@ void ext4_orphan_cleanup(struct super_block *sb, struct ext4_super_block *es)
/* don't clear list on RO mount w/ errors */
if (es->s_last_orphan && !(s_flags & SB_RDONLY)) {
ext4_msg(sb, KERN_INFO, "Errors on filesystem, "
- "clearing orphan list.\n");
+ "clearing orphan list.");
es->s_last_orphan = 0;
}
ext4_debug("Skipping orphan recovery on fs with errors.\n");