]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: ensure ImageDispatchSpec cannot re-use AioCompletion 37714/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 26 Oct 2020 12:27:46 +0000 (08:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 26 Oct 2020 16:01:12 +0000 (12:01 -0400)
commit32767bbfb5d6495fa50310685a550b0601cb275d
tree4d6c62f9e8b0d675439e1018495eafbf09d8776c
parent65a05a0aa6be392ba94a53f9c93963b454749b33
librbd/io: ensure ImageDispatchSpec cannot re-use AioCompletion

Prevent re-using the same AioCompletion between multiple
ImageDispatchSpec objects to prevent the possibility of a memory
leak.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/ImageDispatchSpec.h