[SCSI] ibmvfc: Fix oops in interrupt handler
Fixes an oops that can occur in the interrupt handler if we get a lot of async events. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
273c478152
commit
4081b77c3a
|
@ -2721,7 +2721,7 @@ static irqreturn_t ibmvfc_interrupt(int irq, void *dev_instance)
|
|||
} else if ((async = ibmvfc_next_async_crq(vhost)) != NULL) {
|
||||
vio_disable_interrupts(vdev);
|
||||
ibmvfc_handle_async(async, vhost);
|
||||
crq->valid = 0;
|
||||
async->valid = 0;
|
||||
} else
|
||||
done = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue