Whamcloud - gitweb
smash the HEAD with the contents of b_cmd. HEAD_PRE_CMD_SMASH and
[fs/lustre-release.git] / lustre / snapfs / options.c
index b4c3a4d..fb951fa 100644 (file)
@@ -17,8 +17,8 @@
 
 
 static struct list_head option_list;
-static char *options = NULL;
-static char *opt_left = NULL;
+char  *options = NULL;
+char  *opt_left = NULL;
 
 int init_option(char *data)
 {
@@ -32,7 +32,6 @@ int init_option(char *data)
        opt_left = options;
        return 0;
 }
-
 /*cleanup options*/
 void cleanup_option()
 {
@@ -46,7 +45,6 @@ void cleanup_option()
        }
        SNAP_FREE(options, strlen(options) + 1);
 }
-
 int get_opt(struct option **option, char **pos)
 {
        char  *name, *value, *left;