]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/virtio/virtio_balloon.c
virtio: fix balloon without VIRTIO_BALLOON_F_STATS_VQ
[net-next-2.6.git] / drivers / virtio / virtio_balloon.c
index 3db3d242c3ee2f2502bf15c00c1b4fe8f67aa0a0..369f2eebbad14d5a2999712549894260f4e407e4 100644 (file)
@@ -292,6 +292,7 @@ static int virtballoon_probe(struct virtio_device *vdev)
        vb->num_pages = 0;
        init_waitqueue_head(&vb->config_change);
        vb->vdev = vdev;
+       vb->need_stats_update = 0;
 
        /* We expect two virtqueues: inflate and deflate,
         * and optionally stat. */