nfs41: sunrpc: xprt_alloc_bc_request() should not use spin_lock_bh()
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>
Fri, 19 Jun 2009 02:01:24 +0000 (22:01 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 20 Jun 2009 18:55:39 +0000 (14:55 -0400)
commite9f029855865e917821ef6034b31e340a4cfc815
tree91eac0e44cbcd73e421497100316cc8e7ae102bb
parent578e4585685410cacd1a4ac86b7e3c12805be918
nfs41: sunrpc: xprt_alloc_bc_request() should not use spin_lock_bh()

xprt_alloc_bc_request() is always called in soft interrupt context.
Grab the spin_lock instead of the bottom half spin_lock.  Softirqs
do not preempt other softirqs running on the same processor, so there
is no need to disable bottom halves.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/backchannel_rqst.c