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

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 23 01:22:29 UTC 2017


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



--- Comment #15 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18083 committed in experimental by Amar
Tumballi (amarts at redhat.com) 
------
commit dbd0d50eed0d89d7a42292f96cf5ae192e107a07
Author: Amar Tumballi <amarts at redhat.com>
Date:   Fri Aug 18 16:05:32 2017 +0530

    libglusterfs: Handle FS errors gracefully

    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

    BUG: 1469487
    Change-Id: I14739ab2e5ae225b1a91438b87f8928af56f2934
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: https://review.gluster.org/18083
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>
    Tested-by: Amar Tumballi <amarts at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

-- 
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