OSDN Git Service

block/mirror: don't install backing chain on abort
authorJohn Snow <jsnow@redhat.com>
Thu, 6 Sep 2018 13:02:14 +0000 (09:02 -0400)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Sep 2018 13:31:15 +0000 (15:31 +0200)
commitc2924ceaa7f1866148e2847c969fc1902a2524fa
treef66b5e6ceb57ef985c3b2a10b44797cace04c340
parent22dffcbec62ba918db690ed44beba4bd4e970bb9
block/mirror: don't install backing chain on abort

In cases where we abort the block/mirror job, there's no point in
installing the new backing chain before we finish aborting.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20180906130225.5118-6-jsnow@redhat.com
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/mirror.c