[PATCH] ext4: optimize two log messages in super.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 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





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux