]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hfsplus/options.c
cgroups: document the effect of attaching PID 0 to a cgroup
[linux-2.6-omap-h63xx.git] / fs / hfsplus / options.c
index dc64fac008315092a6d878e5df8634735ea3bbb8..9997cbf8beb50ece6abfa28dc18f3223037eab01 100644 (file)
@@ -132,7 +132,8 @@ int hfsplus_parse_options(char *input, struct hfsplus_sb_info *sbi)
                                return 0;
                        }
                        p = match_strdup(&args[0]);
-                       sbi->nls = load_nls(p);
+                       if (p)
+                               sbi->nls = load_nls(p);
                        if (!sbi->nls) {
                                printk(KERN_ERR "hfs: unable to load nls mapping \"%s\"\n", p);
                                kfree(p);