rgw: fix compilation warning

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2018-02-01 16:05:14 -08:00
parent b09fcde5b3
commit d5d2d3208c

View 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;
}