]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: xen-blkback: use API provided by xenbus module to map rings
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Oct 2011 10:45:17 +0000 (11:45 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 13 Dec 2011 15:38:33 +0000 (10:38 -0500)
commita84db3e7a18fc37b5deeed0b1e2e3e57eb3ce67e
tree2a4a172488aa199648e539b702a9e7ff91c7cad2
parent7139323c5ef7b342d770efef6ae463ff201e3d83
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.

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