diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-09-09 01:49:47 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-09-09 01:49:47 +0200 |
commit | 4cfd74fc99a41fdc161f243e1c16199656d33ab1 (patch) | |
tree | b92cb5a87dfeb13cc042768351ffda6a64d58713 /fs/nfs/dns_resolve.h | |
parent | NFS: out of date comment regarding O_EXCL above nfs3_proc_create() (diff) | |
download | linux-4cfd74fc99a41fdc161f243e1c16199656d33ab1.tar.xz linux-4cfd74fc99a41fdc161f243e1c16199656d33ab1.zip |
NFS: Mount option parser should detect missing "port="
The meaning of not specifying the "port=" mount option is different
for "-t nfs" and "-t nfs4" mounts. The default port value for
NFSv2/v3 mounts is 0, but the default for NFSv4 mounts is 2049.
To support "-t nfs -o vers=4", the mount option parser must detect
when "port=" is missing so that the correct default port value can be
set depending on which NFS version is requested.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/dns_resolve.h')
0 files changed, 0 insertions, 0 deletions