From: Yehuda Sadeh Date: Mon, 31 Mar 2014 23:06:20 +0000 (-0700) Subject: librados: remove warning X-Git-Tag: v0.86~213^2~100 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2f94d2ade30c49c14688aee8e7953461b53eb00;p=ceph.git librados: remove warning Seems that the current locking scheme is ok. Objecter handles its locking internally, librados needs to hold its lock. Signed-off-by: Yehuda Sadeh --- diff --git a/src/librados/IoCtxImpl.cc b/src/librados/IoCtxImpl.cc index f87a032d324d..86fa9a8c332c 100644 --- a/src/librados/IoCtxImpl.cc +++ b/src/librados/IoCtxImpl.cc @@ -1007,8 +1007,6 @@ int librados::IoCtxImpl::watch(const object_t& oid, uint64_t ver, lock->Lock(); -#warning watch related locking? - WatchContext *wc = new WatchContext(this, oid, ctx); client->register_watcher(wc, cookie); prepare_assert_ops(&wr);