From 771ba39d26e3e8ecbbc7a07a58a060a14ae5bca7 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Wed, 5 Mar 2008 10:09:29 +0000 Subject: [PATCH] Expand the nfs_opts array to include all possible string mount options that mount_nfs could pass down, if it passed down string mount options. Right now, mount_nfs jut passes down a single mount option named "nfs_args" with a fully initialized 'struct nfs_args'. In future commits, we will add code to the kernel for parsing stringified NFS mount options, so that we can convert mount_nfs to pass string options from userspace to kernel, instead of an initialized struct nfs_args. --- sys/nfsclient/nfs_vfsops.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index eddf4789c1c..57cb8c823d4 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -704,7 +704,10 @@ nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp) static const char *nfs_opts[] = { "from", "nfs_args", "noatime", "noexec", "suiddir", "nosuid", "nosymfollow", "union", "noclusterr", "noclusterw", "multilabel", "acls", "force", "update", - "async", NULL }; + "async", "dumbtimer", "noconn", "nolockd", "intr", "rdirplus", "resvport", + "readdirsize", "soft", "hard", "mntudp", "tcp", "wsize", "rsize", + "retrans", "acregmin", "acregmax", "acdirmin", "acdirmax", + NULL }; /* * VFS Operations.