From: Trond Myklebust Date: Wed, 21 Jun 2017 14:16:56 +0000 (-0400) Subject: NFS: Trunking detection should handle ERESTARTSYS/EINTR X-Git-Tag: MMI-PSA29.97-13-9~5361^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=898fc11bb2bd4fbcefb685872d9fffaba2c8edaf;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git NFS: Trunking detection should handle ERESTARTSYS/EINTR Currently, it will return EIO in those cases. Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index b34de036501b..cbf82b0d4467 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c @@ -2134,6 +2134,8 @@ again: put_rpccred(cred); switch (status) { case 0: + case -EINTR: + case -ERESTARTSYS: break; case -ETIMEDOUT: if (clnt->cl_softrtry)