xen/blkback: Shuffle code around (vbd_translate moved higher).
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 15 Apr 2011 15:35:13 +0000 (11:35 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 15 Apr 2011 15:35:13 +0000 (11:35 -0400)
commit1a95fe6e42cefc52c62c471ad87d7fe8643231df
treec291f0877992d08f8129e56a8e58dfbfbb00c072
parentb0aef17924a06646403cae8eecf6c73219a63c19
xen/blkback: Shuffle code around (vbd_translate moved higher).

We take out the chunk of code dealing with mapping to the guest
of pages into the xen_blk_map_buf code. And we also move the
vbd_translate to be done much earlier.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/blkback/blkback.c