diff options
author | yar <yar@FreeBSD.org> | 2008-02-18 20:58:57 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2008-02-18 20:58:57 +0000 |
commit | ce8c4934005fb020ee63b75191b67718d8e42629 (patch) | |
tree | ec280aec5d44b2e382b340e82d81b4b4e30d28f8 /sys/kern/vfs_mount.c | |
parent | 6733058442037a1dbef4e6638c1305b7745013dd (diff) | |
download | FreeBSD-src-ce8c4934005fb020ee63b75191b67718d8e42629.zip FreeBSD-src-ce8c4934005fb020ee63b75191b67718d8e42629.tar.gz |
Undo the damage I did in sys/kern/vfs_mount.c #1.274 and
sbin/mount_nfs/mount_nfs.c #1.76. Let the dragons sleep.
Requested by: rodrigc, des
PR: kern/120319 (welcome the bug back)
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index a494401..0f829a9 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1730,11 +1730,10 @@ vfs_mountroot_try(const char *mountfrom) strcpy(path, ROOTNAME); error = kernel_vmount( - MNT_ROOTFS, + MNT_RDONLY | MNT_ROOTFS, "fstype", vfsname, "fspath", "/", "from", path, - "ro", NULL, NULL); if (error == 0) { /* |