Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2454128rwi; Tue, 11 Oct 2022 08:59:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7v6irH95DloePTmBavr1aU7tvLTpn/NX6dkXl/hR7W11xBcSE2fOkL2TAqiEhyPpr+4mzp X-Received: by 2002:a17:907:7632:b0:78d:b5ba:87db with SMTP id jy18-20020a170907763200b0078db5ba87dbmr9458778ejc.661.1665503975790; Tue, 11 Oct 2022 08:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665503975; cv=none; d=google.com; s=arc-20160816; b=VvTedWj1v/ugyI+yIvQVmQkaO4DNvEOv1wIvj0NAv3MqP5WS4kCiJCU9kxo6s6hYSS L3KXzbt2L+HaWEYIVVjK1dinIuLJSC/lkqLMRlvF5G+n7vhbsashMThta0zwnqdi+lfQ wEAKKkffCBhugUIKg53OKTOh53luN307gZ7Ixv6zOR81qHU+Ax6JwO3q+XADC2BA7QLO CJu+pxJYsgfs2YsnCpIHZ+4lcG79osJSBGt8soVtmVtdt6EazT2L0V4S7KgEz+LPxIFu qdxgO8YrFS9E3igXqh9wx0XvYpZlxFYMTLfD3BL7kNFAwrcLsfntyr7/L1+wVEiy+D8b TW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=Oe3uf25AYWfevc4VWeTIQ/nmsX2KXKvM05hFxfYN5OQ=; b=RKCRAVGWc8mB+AZ/oG/FN6EF3EOWuIbaob7CrgfRyBTvjD/uvk1Wn7n2h+3QfRJCsC cNi/Hz9fCd2Qqq2YqypuzDLz78LTicuvi5YiB66o2fE9yyTQozzlN7AoISBfjoqnbyMH S3n7xU81Yo4WrDraatTXqwjWh64fDcnhjSxPBQAB3ahLfF1dHVblDwMyYGNuS3Bn17iB geMPuYiUAmkDrFfY7DjkTS0oM6KPleh2qya0BUbqXvU7J1v00JH4GGkjceOG339t2Vgc MyJFYVrLUrvIRwBcnBeTN5XV7YiyM3+ArX19T+eo2OxBgJvzj7lNYrSt6sgZCzvaa3W0 hvTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=avEuPDsP; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne15-20020a1709077b8f00b0078dbd939dacsi5291733ejc.545.2022.10.11.08.59.10; Tue, 11 Oct 2022 08:59:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=avEuPDsP; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbiJKP5M (ORCPT + 99 others); Tue, 11 Oct 2022 11:57:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230113AbiJKP5G (ORCPT ); Tue, 11 Oct 2022 11:57:06 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B12FA3386A; Tue, 11 Oct 2022 08:57:05 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 31F5921CE7; Tue, 11 Oct 2022 15:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1665503824; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Oe3uf25AYWfevc4VWeTIQ/nmsX2KXKvM05hFxfYN5OQ=; b=avEuPDsPps5iS5JDhk27pl2qhuo/E5/sBdSb11ciEFMxouA6ko0QieAf5wfwp3qow9lV2J pR0ghazPSlsHa9lnhfF2sss2OniNLaIq0zmJWsHEU/b38PuDK8zIvlg38VLcUxyvsXIg09 Hem3zPFKrVGV/0/PSFaSRDimnZoByic= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1665503824; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Oe3uf25AYWfevc4VWeTIQ/nmsX2KXKvM05hFxfYN5OQ=; b=k32d+WKmjpCdYsXKOQ/pCjbdzYqQlvSAwygbKvI4QCPKWBpQd1eyWktleSXiRH7CXGA5cP c8zxF+G5P75VGlAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B9AB613AAC; Tue, 11 Oct 2022 15:57:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +AdsKk+SRWPEYwAAMHmgww (envelope-from ); Tue, 11 Oct 2022 15:57:03 +0000 Received: from localhost (brahms.olymp [local]) by brahms.olymp (OpenSMTPD) with ESMTPA id 72d8e8ec; Tue, 11 Oct 2022 15:58:00 +0000 (UTC) From: =?UTF-8?q?Lu=C3=ADs=20Henriques?= To: "Theodore Ts'o" , Andreas Dilger Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Lu=C3=ADs=20Henriques?= Subject: [PATCH] ext4: remove trailing newline from ext4_msg() message Date: Tue, 11 Oct 2022 16:57:58 +0100 Message-Id: <20221011155758.15287-1-lhenriques@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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 --- fs/ext4/orphan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");