shithub: lwext4

Download patch

ref: 45ad29153e73f1b82c9389d57a2f77fdda5d7b2d
parent: baef42af22f58e2b2668467a2efffbc868b470df
author: ngkaho1234 <[email protected]>
date: Sun Oct 25 20:50:45 EDT 2015

FIX: Checking an unrelated flag.

--- a/lwext4/ext4_super.c
+++ b/lwext4/ext4_super.c
@@ -89,7 +89,7 @@
 static bool ext4_sb_verify_csum(struct ext4_sblock *s)
 {
 	if (!ext4_sb_has_feature_read_only(s,
-					   EXT4_FEATURE_INCOMPAT_BG_USE_META_CSUM))
+					   EXT4_FEATURE_RO_COMPAT_METADATA_CSUM))
 		return true;
 
 	if (s->checksum_type != to_le32(EXT4_CHECKSUM_CRC32C))