[Bugs] [Bug 1200879] New: initialize child_down_cond conditional variable.

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 11 14:52:59 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1200879

            Bug ID: 1200879
           Summary: initialize child_down_cond conditional variable.
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Assignee: bugs at gluster.org
          Reporter: hchiramm at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

currently glfs_new_from_ctx() does not initialize child_down_count
conditional variable, but, glfs_free_from_ctx()
destroy this variable. mnt3udp_get_export_subdir_inode() from mount3
calls glfs_free_from_ctx(), so bound to invite problems. 
This patch avoids the issue.

Version-Release number of selected component (if applicable):

GlusterFS 3.6.2

How reproducible:

N/A

Steps to Reproduce:

N/A

Actual results:

pthread_cond_destroy called without proper init.


Expected results:

It should be initialized.

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list