On 09.10.2015 14:15, Kevin Wolf wrote: > This simplifies the code somewhat, especially when dropping whole > backing file subchains. > > The exception is the mirroring code that does adventurous things with > bdrv_swap() and in order to keep it working, I had to duplicate most of > bdrv_set_backing_hd() locally. We'll get rid again of this ugliness > shortly. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block.c | 68 > ++++++++++++++------------------------------------- > block/mirror.c | 16 +++++++++--- > block/stream.c | 30 +---------------------- > block/vvfat.c | 6 ++++- > include/block/block.h | 1 + > 5 files changed, 37 insertions(+), 84 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature