]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
fixup: don't store ref-to-on-stack-temporary in RecoveryBackend::coll 54930/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 12 Feb 2024 17:40:06 +0000 (17:40 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 12 Feb 2024 17:45:01 +0000 (17:45 +0000)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/ECBackend.cc

index 13d1317f272cd404e4a50206e1a71b60e77dbe1d..fa3b895b2761aa160c2afd673ea89560a910ed2c 100644 (file)
@@ -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) {