commit | f02b9ac35a47dff745c7637fbc095f01cc03646e | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fusionio.com> | Tue Nov 19 18:57:24 2013 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Nov 19 19:00:45 2013 -0700 |
tree | 3615c099998adb4d8b65681acb16d9b060b1ee89 | |
parent | 94eddfbeaafa3e8040a2c47d370dea0e58e76941 [diff] |
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>