From b2fcc556a2973128e80f971fdc1126b6f255afc2 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 12 Feb 2024 17:40:06 +0000 Subject: [PATCH] fixup: don't store ref-to-on-stack-temporary in RecoveryBackend::coll Signed-off-by: Radoslaw Zarzynski --- src/osd/ECBackend.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index 13d1317f272..fa3b895b276 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) { -- 2.39.5