[Bugs] [Bug 1469487] New: sys_xxx() functions should guard against bad return values from fs

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 11 11:30:52 UTC 2017


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

            Bug ID: 1469487
           Summary: sys_xxx() functions should guard against bad return
                    values from fs
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org



Description of problem:
    Problem:
    FS sometimes doesn't give the expected return values. We need our common
    functions to guard against this.
    Example BUG: https://bugzilla.redhat.com/show_bug.cgi?id=864401

    Fix:
    When the return value is not as per specification, change the return value
    to -1 and errno to EIO


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


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