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
d45ac37ecd
commit
675a0bcf59
@ -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