Bug 762078 (GLUSTER-346) - booster returns success on failed getxattr and lgetxattr
Summary: booster returns success on failed getxattr and lgetxattr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-346
Product: GlusterFS
Classification: Community
Component: booster
Version: 2.0.7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Shehjar Tikoo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-29 11:30 UTC by Shehjar Tikoo
Modified: 2009-11-12 06:22 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Shehjar Tikoo 2009-10-29 11:30:44 UTC
The check for a failed glusterfs_getxattr checks the return value instead of errno for checking the status of glusterfs_getxattr. Same for lgetxattr.

Comment 1 Anand Avati 2009-10-30 07:37:49 UTC
PATCH: http://patches.gluster.com/patch/2082 in master (booster: Must check errno for error number not return value)

Comment 2 Anand Avati 2009-10-30 08:28:12 UTC
PATCH: http://patches.gluster.com/patch/2085 in release-2.0 (booster: Must check errno for error number not return value)


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