Date: Fri, 22 Apr 2011 07:26:09 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_mount.c Message-ID: <201104220726.p3M7QIYk061526@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jh 2011-04-22 07:26:09 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: SVN rev 220937 on 2011-04-22 07:26:09Z by jh Utilize vfs_sanitizeopts() in vfs_mergeopts() to merge options. Because vfs_sanitizeopts() can handle "ro" and "rw" options properly, there is no more need to add "noro" in vfs_donmount() to cancel "ro". This also fixes a problem of canceling options beginning with "no". For example, "noatime" didn't cancel "nonoatime". Thus it was possible that both "noatime" and "nonoatime" were active at the same time. Reviewed by: bde Revision Changes Path 1.332 +14 -57 src/sys/kern/vfs_mount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104220726.p3M7QIYk061526>