]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
'oid' used after it was moved
authorSuyash Dongre <suyashd999@gmail.com>
Sat, 25 May 2024 15:36:49 +0000 (21:06 +0530)
committerSuyash Dongre <suyashd999@gmail.com>
Sat, 25 May 2024 15:36:49 +0000 (21:06 +0530)
Fixes: https://tracker.ceph.com/issues/66223
Signed-off-by: Suyash Dongre <suyashd999@gmail.com>
src/rgw/driver/rados/cls_fifo_legacy.cc

index 4f2c0738b396a4b9d6e534717e1be94eaccc699b..aab6173190814b0641e6ae00c837300d937cfd44 100644 (file)
@@ -1170,7 +1170,7 @@ int FIFO::open(const DoutPrefixProvider *dpp, lr::IoCtx ioctx, std::string oid,
   fifo::info info;
   std::uint32_t size;
   std::uint32_t over;
-  int r = get_meta(dpp, ioctx, std::move(oid), objv, &info, &size, &over, 0, y,
+  int r = get_meta(dpp, ioctx, oid, objv, &info, &size, &over, 0, y,
                   probe);
   if (r < 0) {
     if (!(probe && (r == -ENOENT || r == -ENODATA))) {