From: Yehuda Sadeh Date: Fri, 2 Feb 2018 00:05:14 +0000 (-0800) Subject: rgw: fix compilation warning X-Git-Tag: v13.1.0~270^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d5d2d3208c2212435a9f353d1e03e2422e97ab4d;p=ceph.git rgw: fix compilation warning Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_coroutine.cc b/src/rgw/rgw_coroutine.cc index 9723c3b668ae..e46680a6dc83 100644 --- a/src/rgw/rgw_coroutine.cc +++ b/src/rgw/rgw_coroutine.cc @@ -234,7 +234,7 @@ int RGWCoroutinesStack::operate(RGWCoroutinesEnv *_env) r = unwind(op_retcode); op->put(); done_flag = (pos == ops.end()); - blocked_flag &= ~done_flag; + blocked_flag &= !done_flag; if (done_flag) { retcode = op_retcode; }