mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 04:13:39 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8487
@ -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
Block a user