aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-17 16:57:32 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-17 16:57:32 -0400
commit21de0a955f3af29fa1100d96f66e6adade89e77a (patch)
tree0e829bc99fd3786361f78106f50e3961a5ee209b /include
parent8d9266ffe4332afc5ac9de401ef6f825b3798585 (diff)
SUNRPC: Clean up the slot table allocation
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/xprt.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index a876882fb923..05047250f218 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -168,7 +168,6 @@ struct rpc_xprt {
168 struct rpc_wait_queue pending; /* requests in flight */ 168 struct rpc_wait_queue pending; /* requests in flight */
169 struct rpc_wait_queue backlog; /* waiting for slot */ 169 struct rpc_wait_queue backlog; /* waiting for slot */
170 struct list_head free; /* free slots */ 170 struct list_head free; /* free slots */
171 struct rpc_rqst * slot; /* slot table storage */
172 unsigned int max_reqs; /* total slots */ 171 unsigned int max_reqs; /* total slots */
173 unsigned long state; /* transport state */ 172 unsigned long state; /* transport state */
174 unsigned char shutdown : 1, /* being shut down */ 173 unsigned char shutdown : 1, /* being shut down */
@@ -321,7 +320,6 @@ void xprt_conditional_disconnect(struct rpc_xprt *xprt, unsigned int cookie);
321#define XPRT_CLOSING (6) 320#define XPRT_CLOSING (6)
322#define XPRT_CONNECTION_ABORT (7) 321#define XPRT_CONNECTION_ABORT (7)
323#define XPRT_CONNECTION_CLOSE (8) 322#define XPRT_CONNECTION_CLOSE (8)
324#define XPRT_INITIALIZED (9)
325 323
326static inline void xprt_set_connected(struct rpc_xprt *xprt) 324static inline void xprt_set_connected(struct rpc_xprt *xprt)
327{ 325{