From: Sage Weil Date: Mon, 11 Aug 2014 01:05:53 +0000 (-0700) Subject: librados: prefix msg handler with handle_ X-Git-Tag: v0.86~213^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e4e7a18024910fe3cda89ed2d868ceb26c581168;p=ceph.git librados: prefix msg handler with handle_ Signed-off-by: Sage Weil --- 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,