Fix force flag: It is not a "negative" flag. Add MNT_FORCE to the acceptable
options for UFS (which fixes another bug).
This commit is contained in:
parent
404abd2138
commit
e83d87f1fc
|
@ -54,7 +54,7 @@ struct mntopt {
|
|||
#define MOPT_GQUOTA { "groupquota", 0, 0, 0 }
|
||||
|
||||
/* Control flags. */
|
||||
#define MOPT_FORCE { "force", 1, MNT_FORCE, 0 }
|
||||
#define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
|
||||
#define MOPT_UPDATE { "update", 0, MNT_UPDATE, 0 }
|
||||
|
||||
/* Support for old-style "ro", "rw" flags. */
|
||||
|
|
|
@ -59,6 +59,7 @@ static struct mntopt mopts[] = {
|
|||
MOPT_STDOPTS,
|
||||
MOPT_ASYNC,
|
||||
MOPT_SYNC,
|
||||
MOPT_FORCE,
|
||||
MOPT_UPDATE,
|
||||
MOPT_UQUOTA,
|
||||
MOPT_GQUOTA,
|
||||
|
|
|
@ -54,7 +54,7 @@ struct mntopt {
|
|||
#define MOPT_GQUOTA { "groupquota", 0, 0, 0 }
|
||||
|
||||
/* Control flags. */
|
||||
#define MOPT_FORCE { "force", 1, MNT_FORCE, 0 }
|
||||
#define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
|
||||
#define MOPT_UPDATE { "update", 0, MNT_UPDATE, 0 }
|
||||
|
||||
/* Support for old-style "ro", "rw" flags. */
|
||||
|
|
|
@ -59,6 +59,7 @@ static struct mntopt mopts[] = {
|
|||
MOPT_STDOPTS,
|
||||
MOPT_ASYNC,
|
||||
MOPT_SYNC,
|
||||
MOPT_FORCE,
|
||||
MOPT_UPDATE,
|
||||
MOPT_UQUOTA,
|
||||
MOPT_GQUOTA,
|
||||
|
|
Loading…
Reference in New Issue