shithub: lwext4

Download patch

ref: e40ab39b1205be9ea02700bb246ca2085bb057d6
parent: d812bca336c8d67a5b1a9744b36c0ecbb5baa8b3
author: gkostka <kostka.grzegorz@gmail.com>
date: Tue Apr 8 04:48:09 EDT 2014

Add missing lwext4_server option.

--- a/fs_test/lwext4_server.c
+++ b/fs_test/lwext4_server.c
@@ -282,7 +282,7 @@
             {0, 0, 0, 0}
     };
 
-    while(-1 != (c = getopt_long (argc, argv, "i:p:v:w:c:", long_options, &option_index))) {
+    while(-1 != (c = getopt_long (argc, argv, "c:i:p:v:w:", long_options, &option_index))) {
 
         switch(c){
         case 'i':
@@ -296,6 +296,9 @@
             break;
         case 'c':
             cache_wb = atoi(optarg);
+            break;
+        case 'w':
+            winpart = atoi(optarg);
             break;
         default:
             printf("%s", usage);