]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: do not create temporary objects whenever possible
authorVenky Shankar <vshankar@redhat.com>
Thu, 5 Apr 2018 10:43:19 +0000 (06:43 -0400)
committerMahati Chamarthy <mahati.chamarthy@intel.com>
Mon, 11 Nov 2019 07:57:09 +0000 (13:27 +0530)
commit80b1ef465694b25b4a14a57acdd7129e83943b92
tree579484cdbd1eaf2564470fb698cc20e3d76be9d0
parent90b4f29b0241ee2f650f1bdd622fb0042134a3ec
rbd: do not create temporary objects whenever possible

.. for Journal, ExclusiveLock and ObjectMap class, and in
case that cannot be avoided, then make sure to destruct the
object by calling ->put().

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/librbd/internal.cc