From: Garv <garvkumar1502@gmail.com>
To: linux-erofs@lists.ozlabs.org
Cc: Garv <garvkumar1502@gmail.com>
Subject: [PATCH] mkfs: keep summary output with --quiet
Date: Tue, 29 Sep 2026 13:55:31 +0530 [thread overview]
Message-ID: <20260929082538.89102-1-garvkumar1502@gmail.com> (raw)
Signed-off-by: Garv <garvkumar1502@gmail.com>
---
mkfs/main.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/mkfs/main.c b/mkfs/main.c
index d9b4e22..4cc1bf9 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1551,10 +1551,8 @@ static int mkfs_parse_options_cfg(struct erofs_importer_params *params,
return err;
}
- if (quiet) {
- cfg.c_dbg_lvl = EROFS_ERR;
+ if (quiet)
cfg.c_showprogress = false;
- }
if (pclustersize_max) {
if (pclustersize_max < (1U << mkfs_blkszbits) ||
@@ -1743,7 +1741,7 @@ static void erofs_mkfs_showsummaries(void)
char uuid_str[37] = {};
char *incr = incremental_mode ? "new" : "total";
- if (!(cfg.c_dbg_lvl > EROFS_ERR && cfg.c_showprogress))
+ if (cfg.c_dbg_lvl <= EROFS_ERR)
return;
erofs_uuid_unparse_lower(g_sbi.uuid, uuid_str);
--
2.53.0
reply other threads:[~2026-09-29 8:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260929082538.89102-1-garvkumar1502@gmail.com \
--to=garvkumar1502@gmail.com \
--cc=linux-erofs@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox