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:
parent
501e7a4689
commit
898fc11bb2
|
@ -2134,6 +2134,8 @@ again:
|
||||||
put_rpccred(cred);
|
put_rpccred(cred);
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 0:
|
case 0:
|
||||||
|
case -EINTR:
|
||||||
|
case -ERESTARTSYS:
|
||||||
break;
|
break;
|
||||||
case -ETIMEDOUT:
|
case -ETIMEDOUT:
|
||||||
if (clnt->cl_softrtry)
|
if (clnt->cl_softrtry)
|
||||||
|
|
Loading…
Reference in New Issue