]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix seg fault in expire_recursive 44477/head
author胡玮文 <huww98@outlook.com>
Thu, 6 Jan 2022 07:43:29 +0000 (15:43 +0800)
committer胡玮文 <huww98@outlook.com>
Fri, 7 Jan 2022 17:00:31 +0000 (01:00 +0800)
commitd48a2cf7e2481cf9758f2934464ec6d9c35d898b
tree644d0c5831e8f4cd23e5695e0c339d722ed86d28
parentaf5f475a45cf5fa2f747862d9958cc1d7846bbf9
mds: fix seg fault in expire_recursive

Range-based for should not be used when we are altering the container.
Use iterator explicitly instead.

Fixes: https://tracker.ceph.com/issues/53805
Signed-off-by: 胡玮文 <huww98@outlook.com>
src/mds/MDCache.cc