Skip to content

Commit 399c53f

Browse files
committed
rgw_log_backing: error code not returned
Fixes: https://tracker.ceph.com/issues/68031 Signed-off-by: Suyash Dongre <[email protected]>
1 parent fc70b44 commit 399c53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/driver/rados/rgw_log_backing.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ bs::error_code logback_generations::setup(const DoutPrefixProvider *dpp,
273273
ldpp_dout(dpp, -1) << __PRETTY_FUNCTION__ << ":" << __LINE__
274274
<< ": failed writing oid=" << oid
275275
<< ", r=" << r << dendl;
276-
bs::system_error(-r, bs::system_category());
276+
return bs::error_code(-r, bs::system_category());
277277
}
278278
// Did someone race us? Then re-read.
279279
if (r != 0) {

0 commit comments

Comments
 (0)