From: Michael Meffie Date: Mon, 9 Apr 2012 19:49:50 +0000 (-0400) Subject: libafs: log error code when marking server down X-Git-Tag: openafs-stable-1_8_0pre1~2547 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=f0b039fc4761bb0151c7ee69110926ef16e264c7 libafs: log error code when marking server down Log the error code when marking the server down due to server/networks issues. Change-Id: Ib3d57562642ca564dcfeaa775de66f54d08f23af Reviewed-on: http://gerrit.openafs.org/7138 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs_analyze.c b/src/afs/afs_analyze.c index 9a2087c..dfa61fe 100644 --- a/src/afs/afs_analyze.c +++ b/src/afs/afs_analyze.c @@ -777,7 +777,7 @@ afs_Analyze(struct afs_conn *aconn, struct rx_connection *rxconn, * retry in case there is another server. However, if we find * no connection (aconn == 0) we set the networkError flag. */ - afs_MarkServerUpOrDown(sa, SRVR_ISDOWN); + afs_ServerDown(sa, acode); if (aerrP) (aerrP->err_Server)++; VSleep(1); /* Just a hack for desperate times. */