Date: Sat, 12 Jul 2008 20:12:40 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <200807122012.m6CKClfx029626@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rodrigc 2008-07-12 20:12:40 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_mount.c
Log:
SVN rev 180484 on 2008-07-12 20:12:40Z by rodrigc
In nmount(), if we see "update" in the mount options,
set MNT_UPDATE in fsflags, and delete the
"update" option from the global mount options.
MNT_UPDATE is a command, and not a property of a mount
that should persist after the command is executed.
We need to do similar things for MNT_FORCE and MNT_RELOAD.
All mount flags are prefixed by MNT_..... it would
be nice if flags which were commands were named differently
from flags which are persistent properties of a mount.
This was not such a big deal in the pre-nmount() days,
but with nmount() it is more important.
Requested by: yar
MFC after: 2 weeks
Revision Changes Path
1.285 +5 -4 src/sys/kern/vfs_mount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807122012.m6CKClfx029626>
