ref: 8209c29e3262a9093f48e98ac52ee98c3d0ed4d1
parent: d409b47eebae48e79ff24c54f7eea4b2a3e81b61
parent: f01e3ef3e5890c33f035c09a6f9c3283b3b4454f
author: gkostka <[email protected]>
date: Thu Oct 1 15:04:26 EDT 2015
Merge branch 'master' of https://github.com/ngkaho1234/lwext4
--- a/lwext4/ext4_config.h
+++ b/lwext4/ext4_config.h
@@ -114,7 +114,7 @@
/**@brief Include assert codes from ext4_debug or standard library.*/
#ifndef CONFIG_HAVE_OWN_ASSERT
-#define CONFIG_HAVE_OWN_ASSERT 0
+#define CONFIG_HAVE_OWN_ASSERT 1
#endif
/**@brief Statistics of block device*/
--- a/lwext4/ext4_fs.c
+++ b/lwext4/ext4_fs.c
@@ -360,8 +360,8 @@
bit_max += ext4_bg_num_gdb(&bg_ref->fs->sb,
bg_ref->index);
}
- for (bit = 0; bit < bit_max; bit++)
- ext4_bmap_bit_set(block_bitmap.data, bit);
+ for (bit = 0; bit < bit_max; bit++)
+ ext4_bmap_bit_set(block_bitmap.data, bit);
if (bg_ref->index == ext4_block_group_cnt(&bg_ref->fs->sb) - 1) {
/*