From: Mark Kogan Date: Tue, 15 Mar 2022 13:06:56 +0000 (+0200) Subject: pacific: rgwlc: fix segfault resharding during lc X-Git-Tag: v16.2.11~103^2~20^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f5b2615caa7e8e2f93ee61d0158feb51d6a15c02;p=ceph.git pacific: rgwlc: fix segfault resharding during lc Fixes: https://tracker.ceph.com/issues/54363 Signed-off-by: Mark Kogan (cherry picked from commit 7d2e72a9d0451e36141282d6456a4c23d753b592) --- diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index d2a8e85b89b6f..e1fdb056d7684 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -471,7 +471,7 @@ public: if (ret < 0) { ldout(store->ctx(), 0) << "ERROR: list_op returned ret=" << ret << dendl; - return ret; + return false; } } delay();