diff --git a/src/WINNT/afsd/cm_conn.h b/src/WINNT/afsd/cm_conn.h index 96bb098b96..bcd60222a7 100644 --- a/src/WINNT/afsd/cm_conn.h +++ b/src/WINNT/afsd/cm_conn.h @@ -133,6 +133,13 @@ typedef struct cm_req { #endif #include "rx.h" +/* + * connp->serverp can be accessed without holding a lock because that + * never changes once the connection is created. + */ +#define SERVERHAS64BIT(connp) (!((connp)->serverp->flags & CM_SERVERFLAG_NO64BIT)) +#define SET_SERVERHASNO64BIT(connp) (cm_SetServerNo64Bit((connp)->serverp, TRUE)) + extern void cm_InitConn(void); extern void cm_InitReq(cm_req_t *reqp); diff --git a/src/WINNT/afsd/cm_dcache.c b/src/WINNT/afsd/cm_dcache.c index 97f5cd75f7..a3ad77a597 100644 --- a/src/WINNT/afsd/cm_dcache.c +++ b/src/WINNT/afsd/cm_dcache.c @@ -34,11 +34,6 @@ extern osi_mutex_t cm_Freelance_Lock; #define USE_RX_IOVEC 1 -/* we can access connp->serverp without holding a lock because that - never changes since the connection is made. */ -#define SERVERHAS64BIT(connp) (!((connp)->serverp->flags & CM_SERVERFLAG_NO64BIT)) -#define SET_SERVERHASNO64BIT(connp) (cm_SetServerNo64Bit((connp)->serverp, TRUE)) - /* functions called back from the buffer package when reading or writing data, * or when holding or releasing a vnode pointer. */