VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / fs / hfs / super.c
index 2b7d0b2..3456519 100644 (file)
@@ -161,7 +161,7 @@ static int parse_options(char *options, struct hfs_sb_info *hsb)
        if (!options)
                return 1;
 
-       while ((this_char = strsep(&options, ","))) {
+       while ((this_char = strsep(&options, ",")) != 0) {
                if (!*this_char)
                        continue;
                value = strchr(this_char, '=');