[Bugs] [Bug 1183547] New: glfs_set_volfile_server() should accept NULL as transport

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 19 09:31:36 UTC 2015


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

            Bug ID: 1183547
           Summary: glfs_set_volfile_server() should accept NULL as
                    transport
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Keywords: Triaged
          Severity: medium
          Priority: medium
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
            Blocks: 1044648, 1152617



Description of problem:
The documentation of glfs_set_volfile_server() mentions that transport may be
passed as a NULL value. However, this is not handled correctly and the function
will return EINVAL.

Version-Release number of selected component (if applicable):
Current mainline, and older versions.

How reproducible:
100%

Steps to Reproduce:
1. pass transport=NULL to glfs_set_volfile_server()

Actual results:
glfs_set_volfile_server() returns an error (EINVAL).

Expected results:
Default values for transport should be used, and connecting to the volume
should work.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1044648
[Bug 1044648] Documentation bug for glfs_set_volfile_server
https://bugzilla.redhat.com/show_bug.cgi?id=1152617
[Bug 1152617] Documentation bug for glfs_set_volfile_server
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Dqv2dc3dVY&a=cc_unsubscribe


More information about the Bugs mailing list