NFS: set transport defaults after mount option parsing is finished
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 2 Jul 2008 18:43:47 +0000 (14:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:09:38 +0000 (12:09 -0400)
commit259875efed06d6936f54c9a264e868937f1bc217
treec3831c6050582e6ab90ab523131788e2b09df163
parent40fef8a649e5344bfb6a67a7cc3def3e0dad6448
NFS: set transport defaults after mount option parsing is finished

Move the UDP/TCP default timeo/retrans settings for text mounts to
nfs_init_timeout_values(), which was were they were always being
initialised (and sanity checked) for binary mounts.
Document the default timeout values using appropriate #defines.

Ensure that we initialise and sanity check the transport protocols that
may have been specified by the user.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/super.c
include/linux/nfs_fs.h