diff options
author | Shaohua Li <shli@fusionio.com> | 2013-11-20 02:57:24 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-20 03:00:45 +0100 |
commit | f02b9ac35a47dff745c7637fbc095f01cc03646e (patch) | |
tree | 3615c099998adb4d8b65681acb16d9b060b1ee89 /block/blk-mq.c | |
parent | blk-mq: ensure that we set REQ_IO_STAT so diskstats work (diff) | |
download | linux-f02b9ac35a47dff745c7637fbc095f01cc03646e.tar.xz linux-f02b9ac35a47dff745c7637fbc095f01cc03646e.zip |
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>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions