diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-11-15 22:59:57 +0100 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-11-15 22:59:57 +0100 |
| commit | 0570985b80644f293f8ebf85ebccc54dd1be41d4 (patch) | |
| tree | 3bf5f58f500f940d995fe6148208f8950f442389 | |
| parent | d9d7c8932dd4c8c49a6b930d151b197cfbdf36b7 (diff) | |
Set cache dynamic as default in generic application
| -rw-r--r-- | fs_test/lwext4_generic.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs_test/lwext4_generic.c b/fs_test/lwext4_generic.c index 4e3cf63..9200388 100644 --- 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; @@ -225,6 +225,9 @@ int main(int argc, char **argv) } + if (cache_mode) + bc = NULL; + if (!test_lwext4_mount(bd, bc)) return EXIT_FAILURE; |
