Bug 762422 (GLUSTER-690)

Summary: local->failed set twice
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: stripeAssignee: Raghavendra Bhat <rabhat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: aavati, anush, gluster-bugs, shehjart
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra Bhat 2010-03-02 08:56:40 UTC
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.

Comment 1 Anand Avati 2010-03-02 13:21:57 UTC
PATCH: http://patches.gluster.com/patch/2856 in master (local->failed set to one twice)