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)
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>

No differences found