--- inode.c~ Mon Aug 9 20:43:49 1999
+++ inode.c Mon Aug 23 14:43:37 1999
@@ -307,12 +307,12 @@
else opts->quiet = 1;
}
else if (!strcmp(this_char,"blocksize")) {
- if (*value) ret = 0;
- else if (*blksize != 512 &&
- *blksize != 1024 &&
- *blksize != 2048) {
- printk ("MSDOS FS: Invalid blocksize "
- "(512, 1024, or 2048)\n");
+ if (!value || !*value) ret = 0;
+ else {
+ *blksize = simple_strtoul(value,&value,0);
+ if (*value || (*blksize != 512 &&
+ *blksize != 1024 && *blksize != 2048))
+ ret = 0;
}
}
else if (!strcmp(this_char,"sys_immutable")) {
-
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/