diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-11-11 14:26:10 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-13 04:21:13 -0800 |
commit | adebbb2ba19e52b194a4050c2e43a6c92f19c605 (patch) | |
tree | 7d3e158419d15b3b2895f64fd9e4e4bd8d8a1466 /xlators/performance/quick-read | |
parent | 0486b355db0c014f49662ed593a7ab7e74c2cb59 (diff) |
performance/quick-read: set return value to zero after successful init.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 374 (quick read fails to initialize if no options are given)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=374
Diffstat (limited to 'xlators/performance/quick-read')
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index 5c6bfc9c3..2f9e9664b 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -2214,6 +2214,8 @@ init (xlator_t *this) } } + ret = 0; + this->private = conf; out: if ((ret == -1) && conf) { |