lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_8557150557A6D039F5A0565D4E8E8AAC9F09@qq.com>
Date: Fri, 29 Nov 2024 19:14:16 +0800
From: Lin Lin <linlin152@...mail.com>
To: tytso@....edu,
	adilger.kernel@...ger.ca
Cc: linux-ext4@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Lin Lin <linlin152@...mail.com>
Subject: [PATCH] ext4: optimize two log messages in super.c

Updates the first one to "run e2fsck". The second "Run e2fsck" has
double leading spaces, fixed it.

kvm-xfstests smoke passed in arm64.

Signed-off-by: Lin Lin <linlin152@...mail.com>
---
 fs/ext4/super.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 785809f33..001b1cf2e 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4622,8 +4622,8 @@ static int ext4_init_metadata_csum(struct super_block *sb, struct ext4_super_blo
 	/* Warn if metadata_csum and gdt_csum are both set. */
 	if (ext4_has_feature_metadata_csum(sb) &&
 	    ext4_has_feature_gdt_csum(sb))
-		ext4_warning(sb, "metadata_csum and uninit_bg are "
-			     "redundant flags; please run fsck.");
+		ext4_warning(sb,
+			"metadata_csum and uninit_bg are redundant flags; please run e2fsck.");
 
 	/* Check for a known checksum algorithm */
 	if (!ext4_verify_csum_type(sb, es)) {
@@ -4645,8 +4645,8 @@ static int ext4_init_metadata_csum(struct super_block *sb, struct ext4_super_blo
 
 	/* Check superblock checksum */
 	if (!ext4_superblock_csum_verify(sb, es)) {
-		ext4_msg(sb, KERN_ERR, "VFS: Found ext4 filesystem with "
-			 "invalid superblock checksum.  Run e2fsck?");
+		ext4_msg(sb, KERN_ERR,
+			"VFS: Found ext4 filesystem with invalid superblock checksum. Run e2fsck?");
 		return -EFSBADCRC;
 	}
 
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ