diff options
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); |