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:
Trond Myklebust 2017-06-21 10:16:56 -04:00
parent 501e7a4689
commit 898fc11bb2

View File

@ -2134,6 +2134,8 @@ again:
put_rpccred(cred);
switch (status) {
case 0:
case -EINTR:
case -ERESTARTSYS:
break;
case -ETIMEDOUT:
if (clnt->cl_softrtry)