]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: don't provide an invalid watch handle on error
authorJason Dillaman <dillaman@redhat.com>
Tue, 11 Aug 2015 18:38:59 +0000 (14:38 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 6 Nov 2015 01:42:42 +0000 (20:42 -0500)
commit1acc688ad74e3af01127d5c0b3f00d00f351413d
treeee22b56bedef9256fc2f9535f73c1501515138ec
parenta68bf81775c0a219d66db392d255de3094e57226
librados: don't provide an invalid watch handle on error

If the linger op was canceled due to an error, don't provide
the caller with the pointer to the invalidated linger op.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librados/IoCtxImpl.cc