Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 898fc11b authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Trunking detection should handle ERESTARTSYS/EINTR



Currently, it will return EIO in those cases.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 501e7a46
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)