diff options
author | Amar Tumballi <amar@gluster.com> | 2011-10-31 12:23:21 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-16 21:10:56 -0800 |
commit | 5aadd0765ba4c21b5ef626f7f8ca8ccff530dd2f (patch) | |
tree | 3c1bb07890681f5871b6742b4c3f419e5963d9c0 /xlators | |
parent | 43a36decf24b126936bffda273c79e23f547004d (diff) |
xlator: prevent a crash in xlator_destroy due to uninitialized list
was happening when any of the dlopen() fails for xlator loading, and
xlator_destroy() was called as it was using a uninitialized list for
traversal.
now, the list gets initialized at the begining of the xl-init(), so
xlator_destroy() works smoothly.
Change-Id: I320f6fe922e6d351e6d7c0a3e8da1f6b414d3c47
BUG: 3731
Reviewed-on: http://review.gluster.com/606
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions