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 07:20:18 +0000 (09:20 +0200)
commitb989a3e9d260e2b567f5ae501fdf445f626911c1
treed29855aba8464c6affed754de6b6348d84bfbd82
parente0c34051669ce347fc973224a97b9b7432d5a87f
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