Bug 761961 (GLUSTER-229) - For apis which are not implemented return correct values with errno set appropriately
Summary: For apis which are not implemented return correct values with errno set appro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-229
Product: GlusterFS
Classification: Community
Component: libglusterfsclient
Version: 2.0.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-26 10:52 UTC by Raghavendra G
Modified: 2009-11-23 07:42 UTC (History)
2 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 G 2009-08-26 10:52:29 UTC
Currently these apis return ENOSYS, which is not correct. The correct way would be to return the value what the corresponding posix api would've returned on failure and errno set to ENOSYS.

Comment 1 Anand Avati 2009-09-02 14:30:25 UTC
PATCH: http://patches.gluster.com/patch/1171 in release-2.0 (libglusterfsclient: return -1 with errno set to ENOSYS for apis which are not implemented.)


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