Skip to content

Commit 9bc0f19

Browse files
authored
Merge pull request ceph#59737 from Suyashd999/fix-tkm1
rgw_log_backing: error code not returned Reviewed-By: Adam Emerson <[email protected]>, Yuval Lifshitz <[email protected]>
2 parents 65433f9 + 399c53f commit 9bc0f19

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)