From e4e7a18024910fe3cda89ed2d868ceb26c581168 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 10 Aug 2014 18:05:53 -0700 Subject: [PATCH] librados: prefix msg handler with handle_ Signed-off-by: Sage Weil --- src/librados/RadosClient.cc | 4 ++-- src/librados/RadosClient.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/librados/RadosClient.cc b/src/librados/RadosClient.cc index 583c16c1d9bb..956cc2c1428c 100644 --- a/src/librados/RadosClient.cc +++ b/src/librados/RadosClient.cc @@ -385,7 +385,7 @@ bool librados::RadosClient::_dispatch(Message *m) break; case CEPH_MSG_WATCH_NOTIFY: - watch_notify(static_cast(m)); + handle_watch_notify(static_cast(m)); break; case MSG_LOG: @@ -658,7 +658,7 @@ public: } }; -void librados::RadosClient::watch_notify(MWatchNotify *m) +void librados::RadosClient::handle_watch_notify(MWatchNotify *m) { Mutex::Locker l(lock); map::iterator iter = watchers.find(m->cookie); diff --git a/src/librados/RadosClient.h b/src/librados/RadosClient.h index 1c870180b11d..b2e44cadaa11 100755 --- a/src/librados/RadosClient.h +++ b/src/librados/RadosClient.h @@ -113,7 +113,7 @@ public: void register_watch_notify_callback(librados::WatchContext *wc, uint64_t *cookie); void unregister_watch_notify_callback(uint64_t cookie); - void watch_notify(MWatchNotify *m); + void handle_watch_notify(MWatchNotify *m); int mon_command(const vector& cmd, const bufferlist &inbl, bufferlist *outbl, string *outs); int mon_command(int rank, -- 2.47.3