Re: [PATCH 6/8] block-backend: inline bdrv_co_get_geometry

2023-04-07 Thread Eric Blake
On Fri, Apr 07, 2023 at 05:33:01PM +0200, Paolo Bonzini wrote: > bdrv_co_get_geometry is only used in blk_co_get_geometry. Inline it in > there, to reduce the number of wrappers for bs->total_sectors. > > Signed-off-by: Paolo Bonzini > --- > block.c | 10 -- > block/blo

[PATCH 6/8] block-backend: inline bdrv_co_get_geometry

2023-04-07 Thread Paolo Bonzini
bdrv_co_get_geometry is only used in blk_co_get_geometry. Inline it in there, to reduce the number of wrappers for bs->total_sectors. Signed-off-by: Paolo Bonzini --- block.c | 10 -- block/block-backend.c| 8 ++-- include/block/block-io.h | 3 --- 3 files cha