block: Move declaration of bdrv_get_aio_context to block.h
commitdb519cba8713fb49aa5233e8debe61dccdd3a57f
authorFam Zheng <famz@redhat.com>
Thu, 15 May 2014 11:22:05 +0000 (15 19:22 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Jun 2014 07:56:12 +0000 (4 09:56 +0200)
tree152e280577afef3f4ab085e36f4dbdd9429aafec
parent76ef2cf5493a215efc351f48ae7094d6c183fcac
block: Move declaration of bdrv_get_aio_context to block.h

block_int.h is for block layer and block drivers, other code shouldn't
include it. But similar to bdrv_set_aio_context, bdrv_get_aio_context
should also be accessible from outside of block layer.

Move it.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/block/block.h
include/block/block_int.h