mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 15:51:30 -05:00
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull vhost fix from Michael Tsirkin: "A single fix for a regression in vhost" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vhost: initialize vq->nheads properly
This commit is contained in:
@@ -615,6 +615,7 @@ void vhost_dev_init(struct vhost_dev *dev,
|
||||
vq->log = NULL;
|
||||
vq->indirect = NULL;
|
||||
vq->heads = NULL;
|
||||
vq->nheads = NULL;
|
||||
vq->dev = dev;
|
||||
mutex_init(&vq->mutex);
|
||||
vhost_vq_reset(dev, vq);
|
||||
|
||||
Reference in New Issue
Block a user