virtio_ballon: change stub of release_pages_by_pfn
authorDenis V. Lunev <den@openvz.org>
Wed, 19 Aug 2015 21:49:48 +0000 (00:49 +0300)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 3 Feb 2016 20:31:09 +0000 (15:31 -0500)
commit7daaedba8fa87ade25763e15e5218c66558634c3
treea7886b6e9d6cb71bc29deadd8b4c7e229d6acbe4
parent1fc9a4dd398062e9fa4937f446bedd3305312d1d
virtio_ballon: change stub of release_pages_by_pfn

[ Upstream commit b4d34037329f46ed818d3b0a6e1e23b9c8721f79 ]

and rename it to release_pages_balloon. The function originally takes
arrays of pfns and now it takes pointer to struct virtio_ballon.
This change is necessary to conditionally call adjust_managed_page_count
in the next patch.

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/virtio/virtio_balloon.c