From: Theodore Ts'o Date: Mon, 1 Apr 2013 00:29:46 +0000 (-0400) Subject: mke2fs: don't display bigalloc/quota fs feature warnings in quiet mode X-Git-Tag: v1.42.8~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447da244eb31f11516d991891f985a2770080033;p=thirdparty%2Fe2fsprogs.git mke2fs: don't display bigalloc/quota fs feature warnings in quiet mode Signed-off-by: "Theodore Ts'o" --- diff --git a/misc/mke2fs.c b/misc/mke2fs.c index fe5ce7d71..7448255d3 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -1942,13 +1942,15 @@ profile_error: exit(1); } - if (fs_param.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_BIGALLOC) + if (!quiet && + (fs_param.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_BIGALLOC)) fprintf(stderr, _("\nWarning: the bigalloc feature is still " "under development\n" "See https://ext4.wiki.kernel.org/" "index.php/Bigalloc for more information\n\n")); - if (fs_param.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_QUOTA) + if (!quiet && + (fs_param.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_QUOTA)) fprintf(stderr, _("\nWarning: the quota feature is still " "under development\n" "See https://ext4.wiki.kernel.org/"