diff options
author | Chuck Lever | 2007-10-26 19:32:19 +0200 |
---|---|---|
committer | Trond Myklebust | 2008-01-30 08:05:45 +0100 |
commit | 0eb2574121ef0ffbebe5335c66c227d1b987fa25 (patch) | |
tree | ff60c92740377b50e27a879b4155394dcd32844d /fs/anon_inodes.c | |
parent | NFS: Prevent nfs_getattr() hang during heavy write workloads (diff) | |
download | kernel-qcow2-linux-0eb2574121ef0ffbebe5335c66c227d1b987fa25.tar.gz kernel-qcow2-linux-0eb2574121ef0ffbebe5335c66c227d1b987fa25.tar.xz kernel-qcow2-linux-0eb2574121ef0ffbebe5335c66c227d1b987fa25.zip |
NFS: Ensure that NFS version 4 mounts use NFS_PORT if nfsport wasn't set
Text-based mount option parsing introduced a minor regression in the
behavior of NFS version 4 mounts. NFS version 4 is not supposed to require
a running rpcbind service on the server in order for a mount to succeed.
In other words, if the mount options don't specify a port number, the port
number is supposed to default to 2049. For earlier versions of NFS, the
default port number was zero in order to cause the RPC client to autobind
to the server's NFS service.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions