Commit 9a36b5d2 authored by Trond Myklebust's avatar Trond Myklebust Committed by Xie XiuQi
Browse files

NFS: Fix a typo in nfs_init_timeout_values()



mainline inclusion
from mainline-5.1-rc3
commit 5a698243
category: bugfix
bugzilla: 13283
CVE: NA

-------------------------------------------------

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: a956beda ("NFS: Allow the mount option retrans=0")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarZhangXiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 4d0f8480
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment