aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/xprt.h
diff options
context:
space:
mode:
authorChuck Lever <cel@citi.umich.edu>2005-08-11 16:25:35 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-09-23 12:38:19 -0400
commit5dc07727f86b25851e95193a0c484ea21b531c47 (patch)
tree813a8cb359fef51172ff67d9da8efdfc5fee4a83 /include/linux/sunrpc/xprt.h
parent4a0f8c04f2ece949d54a0c4fd7490259cf23a58a (diff)
[PATCH] RPC: Rename xprt_lock
Clean-up: Replace the xprt_lock with something more aptly named. This lock single-threads the XID and request slot reservation process. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:26 -0400 Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/xprt.h')
-rw-r--r--include/linux/sunrpc/xprt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index c4f903f0e17c..41ce296dded1 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -199,7 +199,7 @@ struct rpc_xprt {
199 * Send stuff 199 * Send stuff
200 */ 200 */
201 spinlock_t transport_lock; /* lock transport info */ 201 spinlock_t transport_lock; /* lock transport info */
202 spinlock_t xprt_lock; /* lock xprt info */ 202 spinlock_t reserve_lock; /* lock slot table */
203 struct rpc_task * snd_task; /* Task blocked in send */ 203 struct rpc_task * snd_task; /* Task blocked in send */
204 204
205 struct list_head recv; 205 struct list_head recv;