summaryrefslogtreecommitdiff
path: root/fs/ext4/orphan.c
diff options
context:
space:
mode:
authorLuís Henriques <lhenriques@suse.de>2022-10-11 18:57:58 +0300
committerTheodore Ts'o <tytso@mit.edu>2022-12-09 05:49:23 +0300
commit78742d4d056df7d2fad241c90185d281bf924844 (patch)
tree6aebaec15fa79b8c734a1ba6100d9744c5934e22 /fs/ext4/orphan.c
parentd87a7b4c77a997d5388566dd511ca8e6b8e8a0a8 (diff)
downloadlinux-78742d4d056df7d2fad241c90185d281bf924844.tar.xz
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
Diffstat (limited to 'fs/ext4/orphan.c')
-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");