NFS: Fix up the support for CONFIG_NFS_DISABLE_UDP_SUPPORT
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 30 Mar 2021 13:01:50 +0000 (09:01 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 5 Apr 2021 13:04:20 +0000 (09:04 -0400)
commit90ff57bf4df2825ace0f61befdc3f87c79838ec2
treed4f267dfbc323e3da3682037c6064c0637297de4
parentc2508730d6bb62196783b3de28a09782c97d4365
NFS: Fix up the support for CONFIG_NFS_DISABLE_UDP_SUPPORT

Rather than removing the support in nfs_init_timeout_values(), we should
just fix up the validation checks in the mount option parsers.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
fs/nfs/fs_context.c