NFS: Fix a typo in nfs_init_timeout_values()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 21 Mar 2019 21:57:56 +0000 (17:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2019 06:49:08 +0000 (08:49 +0200)
commit986fa92bc3a0a0aa9e5516a525e689230d81b0c3
tree4adb7bb9f0ce7433458138719d7045335669a0ab
parent63bbfd0631c9745b9d855caa6630f0c7c89e538e
NFS: Fix a typo in nfs_init_timeout_values()

[ Upstream commit 5a698243930c441afccec04e4d5dc8febfd2b775 ]

Specifying a retrans=0 mount parameter to a NFS/TCP mount, is
inadvertently causing the NFS client to rewrite any specified
timeout parameter to the default of 60 seconds.

Fixes: a956beda19a6 ("NFS: Allow the mount option retrans=0")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
fs/nfs/client.c