From: Radoslaw Zarzynski Date: Mon, 12 Feb 2024 17:40:06 +0000 (+0000) Subject: fixup: don't store ref-to-on-stack-temporary in RecoveryBackend::coll X-Git-Tag: v19.3.0~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b2fcc556a2973128e80f971fdc1126b6f255afc2;p=ceph.git fixup: don't store ref-to-on-stack-temporary in RecoveryBackend::coll Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index 13d1317f272c..fa3b895b2761 100644 --- a/src/osd/ECBackend.cc +++ b/src/osd/ECBackend.cc @@ -130,7 +130,7 @@ ECBackend::ECBackend( : PGBackend(cct, pg, store, coll, ch), read_pipeline(cct, ec_impl, this->sinfo, get_parent()->get_eclistener()), rmw_pipeline(cct, ec_impl, this->sinfo, get_parent()->get_eclistener(), *this), - recovery_backend(cct, coll, ec_impl, this->sinfo, read_pipeline, unstable_hashinfo_registry, get_parent(), this), + recovery_backend(cct, this->coll, ec_impl, this->sinfo, read_pipeline, unstable_hashinfo_registry, get_parent(), this), ec_impl(ec_impl), sinfo(ec_impl->get_data_chunk_count(), stripe_width), unstable_hashinfo_registry(cct, ec_impl) {