search for: save_ptr

Displaying 2 results from an estimated 2 matches for "save_ptr".

Did you mean: saved_ptr
2013 May 16
0
[PATCH] btrfs-progs: mkfs: add -O option to specify fs features
...s'': %s\n", + mkfs_features[i].name, + mkfs_features[i].desc); + } + } +} + + +/* + * Return NULL if all features were parsed fine, otherwise return the name of + * the first unparsed. + */ +static char* parse_fs_features(char *namelist, u64 *flags) +{ + char *this_char; + char *save_ptr = NULL; /* Satisfy static checkers */ + + for (this_char = strtok_r(namelist, ",", &save_ptr); + this_char != NULL; + this_char = strtok_r(NULL, ",", &save_ptr)) { + if (parse_one_fs_feature(this_char, flags)) + return this_char; + } + + return NULL; +} + i...
2012 Feb 03
10
[PATCH 0/3] Btrfs-progs: restriper interface
Hello, This is the userspace part of restriper, rebased onto the new progs infrastructure. Restriper commands are located under ''balance'' prefix, which is now the top level command group. However to not confuse existing users ''balance'' prefix is also available under ''filesystem'': btrfs [filesystem] balance start btrfs [filesystem] balance