patch-2.1.122 linux/fs/fat/inode.c
Next file: linux/fs/hfs/ChangeLog
Previous file: linux/fs/devpts/root.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Sep 10 14:32:26 1998
- Orig file:
v2.1.121/linux/fs/fat/inode.c
- Orig date:
Mon Apr 6 17:41:01 1998
diff -u --recursive --new-file v2.1.121/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -221,13 +221,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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov