From d5d2d3208c2212435a9f353d1e03e2422e97ab4d Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 1 Feb 2018 16:05:14 -0800 Subject: [PATCH] rgw: fix compilation warning Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_coroutine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_coroutine.cc b/src/rgw/rgw_coroutine.cc index 9723c3b668a..e46680a6dc8 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; }