block/mirror: conservative mirror_exit refactor
commit737efc1eda23b904fbe0e66b37715fb0e5c3e58b
authorJohn Snow <jsnow@redhat.com>
Thu, 6 Sep 2018 13:02:15 +0000 (6 09:02 -0400)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Sep 2018 13:31:15 +0000 (25 15:31 +0200)
treefcf954bfc76261d218951065ed1672f8e6c2bb1e
parentc2924ceaa7f1866148e2847c969fc1902a2524fa
block/mirror: conservative mirror_exit refactor

For purposes of minimum code movement, refactor the mirror_exit
callback to use the post-finalization callbacks in a trivial way.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20180906130225.5118-7-jsnow@redhat.com
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
[mreitz: Added comment for the mirror_exit() function]
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/mirror.c