]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: clear init/shutdown context before completion
authorJason Dillaman <dillaman@redhat.com>
Sun, 22 Dec 2019 22:16:17 +0000 (17:16 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sun, 22 Dec 2019 22:16:17 +0000 (17:16 -0500)
commit8542da0991c5ad35d76b83044492db037906ac66
treea3e2a6c663f3d256de2a282e25d528c4ae116c05
parent2bca9ee96c655fb7d40e5b569a2ca17d6fc99d70
rbd-mirror: clear init/shutdown context before completion

This fixes a potential issue where the init fails and shut down
is called with the original init context still set.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/image_replayer/journal/Replayer.cc