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

Commit 2c56617d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Fix the handling of the error NFS4ERR_OLD_STATEID



 Ensure that we retry the failed operation...

 Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent d530838b
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -2595,11 +2595,9 @@ int nfs4_handle_exception(const struct nfs_server *server, int errorcode, struct
		case -NFS4ERR_GRACE:
		case -NFS4ERR_DELAY:
			ret = nfs4_delay(server->client, &exception->timeout);
			if (ret == 0)
				exception->retry = 1;
			if (ret != 0)
				break;
		case -NFS4ERR_OLD_STATEID:
			if (ret == 0)
			exception->retry = 1;
	}
	/* We failed to handle the error */