]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/vhost/vhost.c
vhost: initialize log eventfd context pointer
[net-next-2.6.git] / drivers / vhost / vhost.c
index db21518f7e8d4a66a5d22cb59c4c217352df2a58..6c31c0c9bbb9fb315d76ea807073eb8526648e3a 100644 (file)
@@ -121,6 +121,7 @@ static void vhost_vq_reset(struct vhost_dev *dev,
        vq->kick = NULL;
        vq->call_ctx = NULL;
        vq->call = NULL;
+       vq->log_ctx = NULL;
 }
 
 long vhost_dev_init(struct vhost_dev *dev,