Bug 761961 (GLUSTER-229)

Summary: For apis which are not implemented return correct values with errno set appropriately
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: libglusterfsclientAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.6CC: gluster-bugs, rabhat
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 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.)