]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compilation warning
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 2 Feb 2018 00:05:14 +0000 (16:05 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 12 Apr 2018 22:38:39 +0000 (15:38 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_coroutine.cc

index 9723c3b668aef1629ab1274e25d034fa8b011006..e46680a6dc833d7791366f1cb2cd01980f9bd158 100644 (file)
@@ -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;
     }