From 3fab4637db7d8b519c2649f49b0d510bebf7f540 Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Fri, 27 Apr 2012 00:45:56 +0530 Subject: [PATCH] --- yaml --- r: 300309 b: refs/heads/master c: b8ae0eb320b38415da94a41f75e9f99e0aaff06c h: refs/heads/master i: 300307: 92d94708a1965af2865730903b6383f19b8be51f v: v3 --- [refs] | 2 +- trunk/drivers/virtio/virtio_balloon.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0830be7b522d..16451e0d4382 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fa8b66ccd2d200b64496cfedcce90bf54fe7d6e9 +refs/heads/master: b8ae0eb320b38415da94a41f75e9f99e0aaff06c diff --git a/trunk/drivers/virtio/virtio_balloon.c b/trunk/drivers/virtio/virtio_balloon.c index c2d05a8279fd..8807fe501d20 100644 --- a/trunk/drivers/virtio/virtio_balloon.c +++ b/trunk/drivers/virtio/virtio_balloon.c @@ -390,6 +390,7 @@ static void __devexit virtballoon_remove(struct virtio_device *vdev) /* There might be pages left in the balloon: free them. */ while (vb->num_pages) leak_balloon(vb, vb->num_pages); + update_balloon_size(vb); /* Now we reset the device so we can clean up the queues. */ vdev->config->reset(vdev);