Hide Forgot
if (op_ret == -1) { local->failed = 1; gf_log (this->name, GF_LOG_DEBUG, "%s returned error %s", ((call_frame_t *)cookie)->this->name, strerror (op_errno)); local->failed = 1; local->op_errno = op_errno; } in the above piece of code, the variable local->failed is set to 1 twice.
PATCH: http://patches.gluster.com/patch/2856 in master (local->failed set to one twice)