]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: make IoCtxImpl a pointer in WatchContext
authorJosh Durgin <josh.durgin@dreamhost.com>
Tue, 1 Mar 2011 19:47:26 +0000 (11:47 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 4 Mar 2011 00:04:20 +0000 (16:04 -0800)
commit6f797af1ad6cc3f8ddb0b90e210918260f596fa6
tree60ee5cd97be4bee59e9461895f054356519f3873
parent773f0034b1497c6f68179b8c08a4f6105ac2cf96
librados: make IoCtxImpl a pointer in WatchContext

Adds get and put to IoCtxImpl for refcounting,
and uses them in WatchContext, which shouldn't
be creating a copy of the IoCtxImpl.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/librados.cc