forked from luck/tmp_suning_uos_patched
fix reentrancy bug in arcmsr_get_iop_{r,w}qbuffer()
doh... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6a7d26d58a
commit
0c7eb2eb80
@ -1068,7 +1068,7 @@ static void arcmsr_iop_message_wrote(struct AdapterControlBlock *acb)
|
||||
|
||||
struct QBUFFER __iomem *arcmsr_get_iop_rqbuffer(struct AdapterControlBlock *acb)
|
||||
{
|
||||
static struct QBUFFER __iomem *qbuffer;
|
||||
struct QBUFFER __iomem *qbuffer = NULL;
|
||||
|
||||
switch (acb->adapter_type) {
|
||||
|
||||
@ -1089,7 +1089,7 @@ struct QBUFFER __iomem *arcmsr_get_iop_rqbuffer(struct AdapterControlBlock *acb)
|
||||
|
||||
static struct QBUFFER __iomem *arcmsr_get_iop_wqbuffer(struct AdapterControlBlock *acb)
|
||||
{
|
||||
static struct QBUFFER __iomem *pqbuffer;
|
||||
struct QBUFFER __iomem *pqbuffer = NULL;
|
||||
|
||||
switch (acb->adapter_type) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user