Do not pass userquota and groupquota mount options to nmount().

These options are read from fstab by quotacheck(8), but are not
valid mount options that need to be passed down the the filesystem.

Noticed by:	maxim
This commit is contained in:
Craig Rodrigues 2005-11-23 20:17:27 +00:00
parent 62c7cb517a
commit 35d6c7f50e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152732

View File

@ -633,6 +633,10 @@ mangle(options, argcp, argv)
* not a real mount option.
*/
continue;
} else if (strcmp(p, "userquota") == 0) {
continue;
} else if (strcmp(p, "groupquota") == 0) {
continue;
} else if (*p == '-') {
argv[argc++] = p;
p = strchr(p, '=');