mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: move SERVERHAS64BIT macros to cm_conn.h
Move the SERVERHAS64BIT and SETSERVERHASNO64BIT macros to cm_conn.h from cm_dcache.c. Change-Id: I1e1a332a3bd968645912b4e0caa0d793ef96358c Reviewed-on: http://gerrit.openafs.org/8829 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
b74c778bfd
commit
9054392cdc
@ -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);
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user