969 reiserfs_warning(s,
970 "reiserfs_parse_options: bad value %s",
971 arg);
972 return 0;
973 }
974 *commit_max_age = (unsigned int)val;
975 }
976
977 if (c == 'w') {
978 reiserfs_warning(s, "reiserfs: nolargeio option is no longer supported");
979 return 0;
980 }
981
982 if (c == 'j') {
983 if (arg && *arg && jdev_name) {
984 if (*jdev_name) {
985 reiserfs_warning(s,
986 "reiserfs_parse_options: journal device was already specified to be %s",
987 *jdev_name);
988 return 0;
989 }
990 *jdev_name = arg;
991 }
992 }
993#ifdef CONFIG_QUOTA
994 if (c == 'u' || c == 'g') {
995 int qtype = c == 'u' ? USRQUOTA : GRPQUOTA;
996
997 if ((sb_any_quota_enabled(s) ||
998 sb_any_quota_suspended(s)) &&
999 (!*arg != !REISERFS_SB(s)->s_qf_names[qtype])) {
1000 reiserfs_warning(s,
1001 "reiserfs_parse_options: cannot change journaled quota options when quota turned on.");
1002 return 0;
1003 }
1004 if (*arg) {
1005 if (REISERFS_SB(s)->s_qf_names[qtype]
1006 && strcmp(REISERFS_SB(s)->s_qf_names[qtype],
1007 arg)) {
1008 reiserfs_warning(s,
1009 "reiserfs_parse_options: %s quota file already specified.",