1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +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:
David Greenman 1995-05-12 23:39:15 +00:00
parent 404abd2138
commit e83d87f1fc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8487
4 changed files with 4 additions and 2 deletions

View File

@ -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. */

View File

@ -59,6 +59,7 @@ static struct mntopt mopts[] = {
MOPT_STDOPTS,
MOPT_ASYNC,
MOPT_SYNC,
MOPT_FORCE,
MOPT_UPDATE,
MOPT_UQUOTA,
MOPT_GQUOTA,

View File

@ -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. */

View File

@ -59,6 +59,7 @@ static struct mntopt mopts[] = {
MOPT_STDOPTS,
MOPT_ASYNC,
MOPT_SYNC,
MOPT_FORCE,
MOPT_UPDATE,
MOPT_UQUOTA,
MOPT_GQUOTA,