mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
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
This commit is contained in:
parent
d87a7b4c77
commit
78742d4d05
@ -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 */
|
/* don't clear list on RO mount w/ errors */
|
||||||
if (es->s_last_orphan && !(s_flags & SB_RDONLY)) {
|
if (es->s_last_orphan && !(s_flags & SB_RDONLY)) {
|
||||||
ext4_msg(sb, KERN_INFO, "Errors on filesystem, "
|
ext4_msg(sb, KERN_INFO, "Errors on filesystem, "
|
||||||
"clearing orphan list.\n");
|
"clearing orphan list.");
|
||||||
es->s_last_orphan = 0;
|
es->s_last_orphan = 0;
|
||||||
}
|
}
|
||||||
ext4_debug("Skipping orphan recovery on fs with errors.\n");
|
ext4_debug("Skipping orphan recovery on fs with errors.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user