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.
This commit is contained in:
parent
c25215a737
commit
771ba39d26
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176824
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user