]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f481353d24365a848e9754c2d99962f7ff7af34
treec47dd9015bb072e1d31d1cefdfe9995d8a2388ef
parent72757f89379b4ecc6a56178948eb28af3fb005c5
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