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:
parent
62c7cb517a
commit
35d6c7f50e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152732
@ -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, '=');
|
||||
|
Loading…
Reference in New Issue
Block a user