Teach mount(8) about MNT_GJOURNAL flag.

MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show
'gjournal' option in mount(8) output.

Sponsored by:	home.pl
This commit is contained in:
Pawel Jakub Dawidek 2006-10-31 21:54:51 +00:00
parent 868c68ed1d
commit ac88569c5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163843

View File

@ -106,6 +106,7 @@ static struct opt {
{ MNT_SOFTDEP, "soft-updates" },
{ MNT_MULTILABEL, "multilabel" },
{ MNT_ACLS, "acls" },
{ MNT_GJOURNAL, "gjournal" },
{ 0, NULL }
};
@ -833,6 +834,7 @@ flags2opts(int flags)
if (flags & MNT_SUIDDIR) res = catopt(res, "suiddir");
if (flags & MNT_MULTILABEL) res = catopt(res, "multilabel");
if (flags & MNT_ACLS) res = catopt(res, "acls");
if (flags & MNT_GJOURNAL) res = catopt(res, "gjournal");
return (res);
}