X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fhfs%2Fsuper.c;h=345651903fe0068144101ebabea6adcad2f79603;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=2b7d0b21d8968babcebcd77cdfd178cf0b6f1681;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/fs/hfs/super.c b/fs/hfs/super.c index 2b7d0b21d..345651903 100644 --- a/fs/hfs/super.c +++ b/fs/hfs/super.c @@ -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, '=');