Skip to content

Commit

Permalink
Merge pull request ceph#9024 from trociny/fixup-rbd-mirror-asok
Browse files Browse the repository at this point in the history
rbd-mirror: don't unregister asok commands if image replayer start failed

Reviewed-by: Jason Dillaman <[email protected]>
  • Loading branch information
Jason Dillaman committed May 11, 2016
2 parents 221ea5e + 2fd6fdd commit 82af391
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tools/rbd_mirror/ImageReplayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,6 @@ void ImageReplayer<I>::on_start_fail_finish(int r)
m_local_ioctx.close();
m_remote_ioctx.close();

delete m_asok_hook;
m_asok_hook = nullptr;

if (on_start_finish != nullptr) {
dout(20) << "on start finish complete, r=" << r << dendl;
on_start_finish->complete(r);
Expand Down

0 comments on commit 82af391

Please sign in to comment.