From 7ce1997f01a964463c1c04816c63ef28d4dfcc23 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 17 Aug 2013 00:08:30 -0400 Subject: [PATCH] Windows: do not return STATUS_RETRY for rx timeouts Report the RPC server unavailable instead. Change-Id: I9a6d8eec9d93f66b098b2edc4119d2e759efd9a1 Reviewed-on: http://gerrit.openafs.org/10150 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- src/WINNT/afsd/cm_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WINNT/afsd/cm_utils.c b/src/WINNT/afsd/cm_utils.c index 0836f9d20..6cf42092e 100644 --- a/src/WINNT/afsd/cm_utils.c +++ b/src/WINNT/afsd/cm_utils.c @@ -216,7 +216,7 @@ long cm_MapRPCError(long error, cm_req_t *reqp) error == RX_CALL_BUSY || error == RX_MSGSIZE || error == VNOSERVICE) - error = CM_ERROR_RETRY; + error = CM_ERROR_TIMEDOUT; else if (error == RX_CALL_IDLE) error = EIO; else if (error == RX_INVALID_OPERATION) @@ -287,7 +287,7 @@ long cm_MapRPCErrorRmdir(long error, cm_req_t *reqp) error == RX_CALL_IDLE || error == RX_MSGSIZE || error == VNOSERVICE) - error = CM_ERROR_RETRY; + error = CM_ERROR_TIMEDOUT; else if (error == VNOVNODE) error = CM_ERROR_BADFD; else if (error == VSALVAGE || error == VOFFLINE) @@ -341,7 +341,7 @@ long cm_MapVLRPCError(long error, cm_req_t *reqp) error == RX_CALL_IDLE || error == RX_MSGSIZE || error == VNOSERVICE) - error = CM_ERROR_RETRY; + error = CM_ERROR_TIMEDOUT; else if (error == RX_INVALID_OPERATION) error = CM_ERROR_INVAL_NET_RESP; else if (error == RX_RESTARTING) -- 2.39.5