Skip to content
Commit 8bdd3f8a authored by Jens Axboe's avatar Jens Axboe
Browse files

as-iosched: fix inconsistent ioc->lock context



Since it's acquired from irq context, all locking must be of the
irq safe variant. Most are already inside the queue lock (which
already disables interrupts), but the io scheduler rmmod path
always has irqs enabled and the put_io_context() path may legally
be called with irqs enabled (even if it isn't usually). So fixup
those two.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 4f4f6c25
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