]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_log_backing: error code not returned 59737/head
authorSuyash Dongre <suyashd999@gmail.com>
Wed, 11 Sep 2024 14:05:44 +0000 (19:35 +0530)
committerSuyash Dongre <suyashd999@gmail.com>
Wed, 18 Sep 2024 13:20:01 +0000 (18:50 +0530)
Fixes: https://tracker.ceph.com/issues/68031
Signed-off-by: Suyash Dongre <suyashd999@gmail.com>
src/rgw/driver/rados/rgw_log_backing.cc

index 110a54015a33ee0269d16e86975e18d1f1a0cfa7..143855968456ade115b488571128e77f59581621 100644 (file)
@@ -273,7 +273,7 @@ bs::error_code logback_generations::setup(const DoutPrefixProvider *dpp,
        ldpp_dout(dpp, -1) << __PRETTY_FUNCTION__ << ":" << __LINE__
                   << ": failed writing oid=" << oid
                   << ", r=" << r << dendl;
-       bs::system_error(-r, bs::system_category());
+      return bs::error_code(-r, bs::system_category());
       }
       // Did someone race us? Then re-read.
       if (r != 0) {