Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
while ((optname = strsep(&options, ",")) != NULL) {
char *optarg;
- char *endptr;
- int intval;
if (!optname || !*optname)
continue;
continue;
}
- /* All of these options require an integer argument. */
- intval = simple_strtoul(optarg, &endptr, 0);
- if (*endptr) {
- printk(KERN_ERR
- "unionfs: invalid %s option '%s'\n",
- optname, optarg);
- err = -EINVAL;
- goto out_error;
- }
-
err = -EINVAL;
printk(KERN_ERR
"unionfs: unrecognized option '%s'\n", optname);