mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-20 04:10:52 -04:00
NFS: Trunking detection should handle ERESTARTSYS/EINTR
Currently, it will return EIO in those cases. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
@@ -2134,6 +2134,8 @@ int nfs4_discover_server_trunking(struct nfs_client *clp,
|
||||
put_rpccred(cred);
|
||||
switch (status) {
|
||||
case 0:
|
||||
case -EINTR:
|
||||
case -ERESTARTSYS:
|
||||
break;
|
||||
case -ETIMEDOUT:
|
||||
if (clnt->cl_softrtry)
|
||||
|
||||
Reference in New Issue
Block a user