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 /sbin/mount_nfs | |
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 'sbin/mount_nfs')
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index 51f4e43..48c0a1f 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -516,15 +516,6 @@ main(int argc, char *argv[]) /* resolve the mountpoint with realpath(3) */ (void)checkpath(name, mntpath); - /* - * XXX This should go away when this NFS implementation - * is fully converted to nmount(2) semantics. - */ - if (mntflags & MNT_RDONLY) - build_iovec(&iov, &iovlen, "ro", NULL, 0); - else if (mntflags & MNT_UPDATE) - build_iovec(&iov, &iovlen, "noro", NULL, 0); - build_iovec(&iov, &iovlen, "nfs_args", nfsargsp, sizeof(*nfsargsp)); build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); |