[Bugs] [Bug 1202492] New: Rewrite glfs_new function for better error out scenarios.

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 16 18:13:47 UTC 2015


            Bug ID: 1202492
           Summary: Rewrite glfs_new function for better error out
           Product: GlusterFS
           Version: pre-release
         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:

Current glfs_new is not flexible enough to error out and destroy the struct
members or objects initialized just before the error path/condition. This make
the structs or objects to continue or left out with partially recorded data and
cause crashes/issues later in the code path or in other words, its not the
proper way of doing things.  

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

GlusterFS 3.6.2

How reproducible:


Steps to Reproduce:

Actual results:

Expected results:

There should be proper error out path in the subjected function.
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