Bug 762422 (GLUSTER-690) - local->failed set twice
Summary: local->failed set twice
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-690
Product: GlusterFS
Classification: Community
Component: stripe
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-02 08:56 UTC by Raghavendra Bhat
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.