Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Luís Henriques and committed by
Theodore Ts'o
78742d4d d87a7b4c

+1 -1
+1 -1
fs/ext4/orphan.c
··· 412 412 /* don't clear list on RO mount w/ errors */ 413 413 if (es->s_last_orphan && !(s_flags & SB_RDONLY)) { 414 414 ext4_msg(sb, KERN_INFO, "Errors on filesystem, " 415 - "clearing orphan list.\n"); 415 + "clearing orphan list."); 416 416 es->s_last_orphan = 0; 417 417 } 418 418 ext4_debug("Skipping orphan recovery on fs with errors.\n");