shithub: lwext4

Download patch

ref: d4928d37c05debac1e5cbe22d7267f95dd2d5dc8
parent: d811f584142a7cc4cc592633f56e4a9514b098b0
author: gkostka <kostka.grzegorz@gmail.com>
date: Tue Oct 27 16:46:53 EDT 2015

Fix compile error when simple extent enabled

--- a/lwext4/ext4_extent.c
+++ b/lwext4/ext4_extent.c
@@ -131,8 +131,7 @@
 	uint32_t checksum = 0;
 	struct ext4_sblock *sb = &inode_ref->fs->sb;
 
-	if (ext4_sb_has_feature_read_only(sb,
-				EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) {
+	if (ext4_sb_feature_ro_com(sb, EXT4_FRO_COM_METADATA_CSUM)) {
 		uint32_t ino_index = to_le32(inode_ref->index);
 		uint32_t ino_gen =
 			to_le32(ext4_inode_get_generation(inode_ref->inode));