Commit 9e230790 authored by Oleg Drokin's avatar Oleg Drokin

Reiserfs: Fix alloc= mount option parser.

parent 2188a617
......@@ -395,7 +395,7 @@ int reiserfs_parse_alloc_options(struct super_block * s, char * options)
REISERFS_SB(s)->s_alloc_options.bits = 0; /* clear default settings */
for (this_char = strsep (&options, ":"); this_char != NULL; ) {
while ( (this_char = strsep (&options, ":")) != NULL ) {
if ((value = strchr (this_char, '=')) != NULL)
*value++ = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment