SUNRPC: Add a per-rpc_clnt spinlock
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 16 Jun 2007 18:17:01 +0000 (14:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:28 +0000 (23:40 -0400)
commit4bef61ff7514396419563ca54fd42ef846485b06
tree5ea7eca032557a8ae307661b8c2b887fac257476
parent6529eba08fe7297852391a468d95322913de73fa
SUNRPC: Add a per-rpc_clnt spinlock

Use that to protect the rpc_clnt->cl_tasks list instead of using a global
lock.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/sched.c