]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: delete Contexts when object map aio_update not required
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2015 13:21:06 +0000 (08:21 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Mar 2015 02:18:39 +0000 (21:18 -0500)
commit416ce7621d75aeaabd3888dbc736ea4245206a3f
treee96b963acf5115cc94447117e96d2e274e6b628c
parent1bfd760898dfe97f95333eeef94bb9111dfed4a3
librbd: delete Contexts when object map aio_update not required

If an object map update is not required when modifying an image,
properly free the memory allocated for the callback Context.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioRequest.cc
src/librbd/AsyncTrimRequest.cc
src/librbd/CopyupRequest.cc