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

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 22 10:08:11 UTC 2017


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



--- Comment #17 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17746 committed in master by \"Pranith Kumar
Karampuri\" <pkarampu at redhat.com> with a commit message- 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>

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