]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: place MDSGatherBuilder on the stack 36967/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 30 Jul 2020 02:42:44 +0000 (19:42 -0700)
committerVicente Cheng <freeze.bilsted@gmail.com>
Thu, 3 Sep 2020 07:41:38 +0000 (07:41 +0000)
commit4fb2024ecaddfc8088185f25fa8ec4b04299ee36
tree8ce38eb7d8b50687f4644f0d2bc709c54483146c
parentfee7b7e4d8927d79c886fba1b53276175c503b4b
mds: place MDSGatherBuilder on the stack

This was not meant to be heap allocated; it's not freed via the Gather
machinery.

Fixes: https://tracker.ceph.com/issues/46766
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 5f5307679972c7600c9b0704f750a459046f701c)

Conflicts:
src/mds/Server.cc
src/mds/Server.h
  - minor conflict with unintroduced variables
src/mds/MDSRank.cc
src/mds/Server.cc
src/mds/Server.h