Am 18.08.2013 um 16:29 hat Paolo Bonzini geschrieben:
> Il 16/08/2013 16:15, Laszlo Ersek ha scritto:
> > +static int raw_reopen_prepare(BDRVReopenState *reopen_state,
> > + BlockReopenQueue *queue, Error **errp)
> > {
> > -return bdrv_reopen_prepare(bs->file);
> >
Il 16/08/2013 16:15, Laszlo Ersek ha scritto:
> +static int raw_reopen_prepare(BDRVReopenState *reopen_state,
> + BlockReopenQueue *queue, Error **errp)
> {
> -return bdrv_reopen_prepare(bs->file);
> +BDRVReopenState tmp = *reopen_state;
> +
> +tmp.bs = tmp
"Incoming" function prototypes and "outgoing" function calls must match
reality. Implemented using the "struct BlockDriver" definition in
"include/block/block_int.h", and gcc errors & warnings.
Signed-off-by: Laszlo Ersek
---
block/Makefile.objs |2 +-
block/raw_bsd.c | 81