projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d87a7b4
)
ext4: remove trailing newline from ext4_msg() message
author
Luís Henriques
<lhenriques@suse.de>
Tue, 11 Oct 2022 15:57:58 +0000
(16:57 +0100)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 9 Dec 2022 02:49:23 +0000
(21:49 -0500)
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
fs/ext4/orphan.c
patch
|
blob
|
history
diff --git
a/fs/ext4/orphan.c
b/fs/ext4/orphan.c
index 69a9cf9137a610a4dba1b5138fca6aaf8096391e..e5b47dda331759c649e8f127bc4911053acb05b7 100644
(file)
--- 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");