Description of problem: The glfs_free_from_ctx() destroy the mutex and conditional variables. However there is no check which make sure these variables are inited properly. Version-Release number of selected component (if applicable): GlusterFS 3.6.2 How reproducible: N/A Steps to Reproduce: N/A Actual results: Unconditional destroy of mutex and conditional variables. Expected results: The destroy should happen after making sure the variables are inited. Additional info:
REVIEW: http://review.gluster.org/9875 (libgfapi: conditionally destroy the mutex and cond.variables.) posted (#1) for review on master by Humble Devassy Chirammal (humble.devassy)
REVIEW: http://review.gluster.org/9875 (libgfapi: conditionally destroy the mutex and cond.variables.) posted (#2) for review on master by Humble Devassy Chirammal (humble.devassy)
Above bug does not have any functionality impact. It is just improvement in code. I don't see any dev actively working to fix in upcoming releases. Hence closing it for time being as defered .Please feel free to reopen the bug if needed