summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rbd/action/Journal.cc3
-rw-r--r--src/tools/rbd_mirror/BaseRequest.h2
-rw-r--r--src/tools/rbd_mirror/ImageReplayer.cc2
3 files changed, 1 insertions, 6 deletions
diff --git a/src/tools/rbd/action/Journal.cc b/src/tools/rbd/action/Journal.cc
index db506207c4b..5d283420a5e 100644
--- a/src/tools/rbd/action/Journal.cc
+++ b/src/tools/rbd/action/Journal.cc
@@ -461,9 +461,6 @@ protected:
JournalPlayer *journal;
explicit ReplayHandler(JournalPlayer *_journal) : journal(_journal) {}
- void get() override {}
- void put() override {}
-
void handle_entries_available() override {
journal->handle_replay_ready();
}
diff --git a/src/tools/rbd_mirror/BaseRequest.h b/src/tools/rbd_mirror/BaseRequest.h
index 5053eb830d9..f1ebc0cf7e5 100644
--- a/src/tools/rbd_mirror/BaseRequest.h
+++ b/src/tools/rbd_mirror/BaseRequest.h
@@ -13,7 +13,7 @@ namespace mirror {
class BaseRequest : public RefCountedObject {
public:
BaseRequest(const std::string& name, CephContext *cct, Context *on_finish)
- : RefCountedObject(cct, 1), m_name(name), m_cct(cct),
+ : RefCountedObject(cct), m_name(name), m_cct(cct),
m_on_finish(on_finish) {
}
diff --git a/src/tools/rbd_mirror/ImageReplayer.cc b/src/tools/rbd_mirror/ImageReplayer.cc
index 1111b3b8438..cc419f58da3 100644
--- a/src/tools/rbd_mirror/ImageReplayer.cc
+++ b/src/tools/rbd_mirror/ImageReplayer.cc
@@ -62,8 +62,6 @@ template <typename I>
struct ReplayHandler : public ::journal::ReplayHandler {
ImageReplayer<I> *replayer;
ReplayHandler(ImageReplayer<I> *replayer) : replayer(replayer) {}
- void get() override {}
- void put() override {}
void handle_entries_available() override {
replayer->handle_replay_ready();