Bug 762106 (GLUSTER-374) - quick read fails to initialize if no options are given
Summary: quick read fails to initialize if no options are given
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-374
Product: GlusterFS
Classification: Community
Component: quick-read
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-11 19:54 UTC by Raghavendra G
Modified: 2009-11-14 02:50 UTC (History)
0 users

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


Attachments (Terms of Use)

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.)


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