diff --git a/src/rgw/driver/rados/rgw_log_backing.h b/src/rgw/driver/rados/rgw_log_backing.h index 6cda9a4ca9787..737d6725eb438 100644 --- a/src/rgw/driver/rados/rgw_log_backing.h +++ b/src/rgw/driver/rados/rgw_log_backing.h @@ -269,7 +269,7 @@ class LazyFIFO { // FIFO supports multiple clients by design, so it's safe to // race to create them. std::unique_ptr fifo_tmp; - auto r = rgw::cls::fifo::FIFO::create(dpp, ioctx, oid, &fifo, y); + auto r = rgw::cls::fifo::FIFO::create(dpp, ioctx, oid, &fifo_tmp, y); if (r) { return r; }