Re: joliet

Gordon Chaffee (chaffee@cs.berkeley.edu)
Thu, 10 Sep 1998 14:26:05 -0700


I messed options handling up in a couple places. This should fix
the isofs case as well as some fat fs cases.

- Gordon

--- linux/fs/fat/inode.c~ Fri Sep 4 15:17:24 1998
+++ linux/fs/fat/inode.c Thu Sep 10 14:22:58 1998
@@ -216,13 +216,13 @@
if (value) ret = 0;
else opts->sys_immutable = 1;
}
- else if (!strcmp(this_char,"codepage")) {
+ else if (!strcmp(this_char,"codepage") && value) {
opts->codepage = simple_strtoul(value,&value,0);
if (*value) ret = 0;
else printk ("MSDOS FS: Using codepage %d\n",
opts->codepage);
}
- else if (!strcmp(this_char,"iocharset")) {
+ else if (!strcmp(this_char,"iocharset") && value) {
p = value;
while (*value && *value != ',') value++;
len = value - p;
--- linux/fs/isofs/inode.c~ Wed Sep 9 19:16:49 1998
+++ linux/fs/isofs/inode.c Thu Sep 10 14:21:13 1998
@@ -320,7 +320,7 @@
*value++ = 0;

#ifdef CONFIG_JOLIET
- if (!strcmp(this_char,"iocharset")) {
+ if (!strcmp(this_char,"iocharset") && value) {
popt->iocharset = value;
while (*value && *value != ',')
value++;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html