]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix occasional MOSDMap leak 14942/head
authorSage Weil <sage@redhat.com>
Fri, 14 Apr 2017 17:21:38 +0000 (13:21 -0400)
committerShinobu Kinjo <shinobu@redhat.com>
Wed, 3 May 2017 23:07:33 +0000 (08:07 +0900)
commit62bb2086af2f0d63c081a8a0b9d1de8d1c1179a7
tree6984bc382a936629a099f31a4e6408523e56d4af
parentce8edcfed6cd908779efd229202eab1232d16f1c
osd: fix occasional MOSDMap leak

_committed_osd_maps() may return early (without putting
the ref) on shutdown.

Fixes: http://tracker.ceph.com/issues/18293
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a74632f964e10a57fb8065aec90dc7b69bddba5b)
src/osd/OSD.cc