block: xen-blkback: use API provided by xenbus module to map rings
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 29 Sep 2011 15:53:30 +0000 (16:53 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 26 Oct 2011 14:02:35 +0000 (10:02 -0400)
commit2d073846b891c3f49c4ea03c5db3ac92f92742f1
treec47dd9015bb072e1d31d1cefdfe9995d8a2388ef
parent4dcaebbf6586d299be8513512a1253f177b803d7
block: xen-blkback: use API provided by xenbus module to map rings

The xenbus module provides xenbus_map_ring_valloc() and
xenbus_map_ring_vfree().  Use these to map the ring pages granted by
the frontend.

Acked-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c