diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2008-03-05 10:09:29 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2008-03-05 10:09:29 +0000 |
commit | 3c423712fa46ed696a32829ee64e71ff46173d00 (patch) | |
tree | d1385692f5f5830f76fa97a58d931ce0573b8da9 /sys | |
parent | b3c805a899bc1bf721470e47dacd778e2dd77842 (diff) | |
download | FreeBSD-src-3c423712fa46ed696a32829ee64e71ff46173d00.zip FreeBSD-src-3c423712fa46ed696a32829ee64e71ff46173d00.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index eddf478..57cb8c8 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. |