Bug 762106 (GLUSTER-374)

Summary: quick read fails to initialize if no options are given
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: quick-readAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainline   
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: --- 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-11-11 19:54:53 UTC
return value is not set to zero in init after successful initialization. This causes init to return -1 if no options are given, since ret is assigned the return value of dict_get_str of one of the options.

Comment 1 Anand Avati 2009-11-13 07:14:01 UTC
PATCH: http://patches.gluster.com/patch/2158 in release-2.0 (performance/quick-read: set return value to zero after successful init.)

Comment 2 Anand Avati 2009-11-13 09:21:15 UTC
PATCH: http://patches.gluster.com/patch/2157 in master (performance/quick-read: set return value to zero after successful init.)