From patchwork Tue Sep 5 00:38:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 13374316 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6E78BC83F2C for ; Tue, 5 Sep 2023 00:38:57 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1qdK5p-00073Q-3o; Tue, 05 Sep 2023 00:38:56 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qdK5o-00073G-30 for linux-f2fs-devel@lists.sourceforge.net; Tue, 05 Sep 2023 00:38:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ISSKmQj3dqOD9F3yzHQ0UcfguinM5ud6sS3eBUZ3RQE=; b=Gl4q6vcasX0TxFysCVCMp9cXdD ygf4zKVqP8Dn6nDjeW5dbrmRy3Yw6TN1Xs+zldZ5QxR8zLx28VTPkNPWP7HHrEY3CkDEjho4UkPUI Bb0V2BMBehynqOvzrgnzhGq7R6y9DnIR/jAjba84vIPqKNVZLgu3SFWrySDpYh0SheYs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=ISSKmQj3dqOD9F3yzHQ0UcfguinM5ud6sS3eBUZ3RQE=; b=j mn8uQQFPhxY7GwqMgSVejabkKpmjYCg6fWgeiV9BwXzajV1qctSE8wlVcETMri0GjNvxcqH3FrelK Y71s75cPhOapQYlEFI8Gat/3X7HARd8U0LjhtmdPyU/Q2Z4sVX2jcpUd3V9z2CPnCgrZVFwUVQ4ZT nlh7BWJukpQ1Du6Q=; Received: from ams.source.kernel.org ([145.40.68.75]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qdK5j-00035d-Gv for linux-f2fs-devel@lists.sourceforge.net; Tue, 05 Sep 2023 00:38:54 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id BCC08B80932 for ; Tue, 5 Sep 2023 00:38:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7C12C433C8 for ; Tue, 5 Sep 2023 00:38:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693874318; bh=G1fdhpDHWmDf/8HtIgolrNV0cuJIQjaWdeF0BAFmWuA=; h=From:To:Subject:Date:From; b=KqcgYVSJXVI1jGjdYuNi1mYOpXAYWfN7x75MbE+rX2ezVg4s3pJzOi7RThBnvqxoi UTvvqhRMoSDmsImEDw5Vsl1h1BEvY6effIT2i6pK/H4VuoNOy5MvV0ChR9GO8fJOAX y88nQNwb31RbeYirV0SCL3XiZIysq3pdKK9fSV+nSw4hyQGejDYMH3t2KuZ91PCIYy bnY/Z3rZDRGuSVtfcuQsMGAwVERo/tFabfeijDiNo8dBBbr09ojrn0F2Gb7KH+CTNU fbZLj+zdYQqfejdht4GnR8tVEeEOmiQzFy2TnQ25oySYMjcQLP0TBmxtal3/FWPfjH cVdhqtT6ei74A== From: Eric Biggers To: linux-f2fs-devel@lists.sourceforge.net Date: Mon, 4 Sep 2023 17:38:02 -0700 Message-ID: <20230905003802.333176-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Headers-End: 1qdK5j-00035d-Gv Subject: [f2fs-dev] [PATCH] fsck.f2fs: use clearer info message for -a option X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net From: Eric Biggers The message "Info: Fix the reported corruption" makes people think that fsck has detected filesystem corruption. Replace this message with "Info: Automatic fix mode enabled" which is more accurate. Signed-off-by: Eric Biggers --- fsck/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: b15b6cc56ac7764be17acbdbf96448f388992adc diff --git a/fsck/main.c b/fsck/main.c index 3690c74..dd8643c 100644 --- a/fsck/main.c +++ b/fsck/main.c @@ -263,7 +263,7 @@ void f2fs_parse_options(int argc, char *argv[]) break; case 'a': c.auto_fix = 1; - MSG(0, "Info: Fix the reported corruption.\n"); + MSG(0, "Info: Automatic fix mode enabled.\n"); break; case 'c': c.cache_config.num_cache_entry = atoi(optarg);