ref: 0570985b80644f293f8ebf85ebccc54dd1be41d4
parent: d9d7c8932dd4c8c49a6b930d151b197cfbdf36b7
author: gkostka <kostka.grzegorz@gmail.com>
date: Sun Nov 15 17:59:57 EST 2015
Set cache dynamic as default in generic application
--- a/fs_test/lwext4_generic.c
+++ b/fs_test/lwext4_generic.c
@@ -47,7 +47,7 @@
#endif
/**@brief Input stream name.*/
-char input_name[128] = "ext2";
+char input_name[128] = "ext_images/ext2";
/**@brief Read-write size*/
static int rw_szie = 1024 * 1024;
@@ -224,6 +224,9 @@
return EXIT_FAILURE;
}
+
+ if (cache_mode)
+ bc = NULL;
if (!test_lwext4_mount(bd, bc))
return EXIT_FAILURE;