Skip to content
Commit f02b9ac3 authored by Shaohua Li's avatar Shaohua Li Committed by Jens Axboe
Browse files

virtio-blk: virtqueue_kick() must be ordered with other virtqueue operations



It isn't safe to call it without holding the vblk->vq_lock.

Reported-by: default avatarDave Chinner <david@fromorbit.com>
Signed-off-by: default avatarShaohua Li <shli@fusionio.com>

Fixed another condition of virtqueue_kick() not holding the lock.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 94eddfbe
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