patch-2.4.0-test3 linux/include/linux/sunrpc/xprt.h
Next file: linux/include/linux/sysv_fs.h
Previous file: linux/include/linux/sunrpc/sched.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Jul 10 13:22:25 2000
- Orig file:
v2.4.0-test2/linux/include/linux/sunrpc/xprt.h
- Orig date:
Mon Mar 27 08:08:32 2000
diff -u --recursive --new-file v2.4.0-test2/linux/include/linux/sunrpc/xprt.h linux/include/linux/sunrpc/xprt.h
@@ -96,7 +96,7 @@
struct rpc_task * rq_task; /* RPC task data */
__u32 rq_xid; /* request XID */
struct rpc_rqst * rq_next; /* free list */
- unsigned char rq_damaged; /* reply being received */
+ volatile unsigned char rq_received : 1;/* receive completed */
/*
* For authentication (e.g. auth_des)
@@ -138,9 +138,9 @@
struct rpc_wait_queue reconn; /* waiting for reconnect */
struct rpc_rqst * free; /* free slots */
struct rpc_rqst slot[RPC_MAXREQS];
- unsigned int connected : 1, /* TCP: connected */
- write_space: 1, /* TCP: can send */
- shutdown : 1, /* being shut down */
+ volatile unsigned char connected : 1, /* TCP: connected */
+ write_space: 1; /* TCP: can send */
+ unsigned char shutdown : 1, /* being shut down */
nocong : 1, /* no congestion control */
stream : 1, /* TCP */
tcp_more : 1, /* more record fragments */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)