Skip to content
Commit b445c568 authored by Jeff Garzik's avatar Jeff Garzik
Browse files

[libata] wrap kmap_atomic(KM_IRQ0) with local_irq_save/restore()



Interrupts must be disabled if using kmap_atomic(KM_IRQ0), but that was
not the case in a few code paths coming directly from ATA driver
interrupt handlers (which use spin_lock rather than spin_lock_irqsave).

Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 931506d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment