afs_Trace2(afs_iclSetp, CM_TRACE_CHECKCODE,
ICL_TYPE_INT32, acode, ICL_TYPE_INT32, where);
}
- if (acode & ~0xff == ERROR_TABLE_BASE_uae)
+ if ((acode & ~0xff) == ERROR_TABLE_BASE_uae)
acode = et_to_sys_error(acode);
if (!areq || !areq->initd)
return acode;
for (i=0; i < MAXHOSTS; i++) {
if (tvp->status[i] != not_busy && tvp->status[i] != offline) {
- tvp->status[i] = not_busy;
+ tvp->status[i] = not_busy;
}
- if (tvp->status[i] == not_busy)
- shouldRetry = 1;
+ if (tvp->status[i] == not_busy)
+ shouldRetry = 1;
}
afs_PutVolume(tvp, READ_LOCK);
} else {
} else {
VSleep(afs_BusyWaitPeriod); /* poll periodically */
}
+ if (shouldRetry != 0)
+ areq->busyCount++;
+
return shouldRetry; /* should retry */
}
/* Before we do anything with acode, make sure we translate it back to
a system error */
- if (acode & ~0xff == ERROR_TABLE_BASE_uae)
+ if ((acode & ~0xff) == ERROR_TABLE_BASE_uae)
acode = et_to_sys_error(acode);
if (acode == 0) {