]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-blk: virtqueue_kick() must be ordered with other virtqueue operations
authorShaohua Li <shli@fusionio.com>
Wed, 20 Nov 2013 01:57:24 +0000 (18:57 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 20 Nov 2013 02:00:45 +0000 (19:00 -0700)
commit331772391d2f408627f9573a1218778e37f88e26
tree3615c099998adb4d8b65681acb16d9b060b1ee89
parent12810e1cf263ebb2872273c5017d9591954632f3
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: Dave Chinner <david@fromorbit.com>
Signed-off-by: Shaohua Li <shli@fusionio.com>
Fixed another condition of virtqueue_kick() not holding the lock.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/virtio_blk.c