On Thu, 04/28 15:16, Kevin Wolf wrote: > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block/vpc.c | 79 > ++++++++++++++++++++++++++++++++----------------------------- > 1 file changed, 42 insertions(+), 37 deletions(-) > > diff --git a/block/vpc.c b/block/vpc.c > index 3e2ea69..0099a80 100644 > --- a/block/vpc.c > +++ b/block/vpc.c > @@ -454,22 +454,21 @@ static int vpc_reopen_prepare(BDRVReopenState *state, > * The parameter write must be 1 if the offset will be used for a write > * operation (the block bitmaps is updated then), 0 otherwise. > */ > -static inline int64_t get_sector_offset(BlockDriverState *bs, > - int64_t sector_num, int write) > +static inline int64_t get_image_offset(BlockDriverState *bs, uint64_t offset, > + bool write)
Parameter's indentation is one column off.