On 01/26/2016 05:38 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > block/io.c | 2 +- > include/block/block.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block/io.c b/block/io.c > index b964e7e..15e461f 100644 > --- a/block/io.c > +++ b/block/io.c > @@ -425,7 +425,7 @@ void bdrv_round_to_clusters(BlockDriverState *bs, > } > } > > -static int bdrv_get_cluster_size(BlockDriverState *bs) > +int bdrv_get_cluster_size(BlockDriverState *bs) > { > BlockDriverInfo bdi; > int ret; > diff --git a/include/block/block.h b/include/block/block.h > index b9b30cb..16b7845 100644 > --- a/include/block/block.h > +++ b/include/block/block.h > @@ -435,7 +435,7 @@ void bdrv_round_to_clusters(BlockDriverState *bs, > int64_t sector_num, int nb_sectors, > int64_t *cluster_sector_num, > int *cluster_nb_sectors); > - > +int bdrv_get_cluster_size(BlockDriverState *bs); > const char *bdrv_get_encrypted_filename(BlockDriverState *bs); > void bdrv_get_backing_filename(BlockDriverState *bs, > char *filename, int filename_size); >
Reviewed-by: John Snow <js...@redhat.com>