[Bugs] [Bug 1315559] SEEK_HOLE and SEEK_DATA should return EINVAL when protocol support is missing
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 9 05:21:36 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1315559
--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13634 committed in release-3.5 by Niels de
Vos (ndevos at redhat.com)
------
commit 206ccaa4f417da633af3860a3ffae896d517fdd0
Author: Niels de Vos <ndevos at redhat.com>
Date: Tue Mar 8 05:39:01 2016 +0100
gfapi: return EINVAL for unsupported lseek() operations
GlusterFS 3.8 contains support for SEEK_DATA/SEEK_HOLE. This protocol
extension is not available in 3.5. libgfapi needs to handle unsupported
SEEK_* operations correctly, by returning -1 and setting errno to
EINVAL.
This change is different from the patch in the master branch, it is only
needed to do the improved error checking in this version.
BUG: 1315559
Change-Id: I142dde11923244809b03fcca8cd4c2f7d5ff3929
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: http://review.gluster.org/13634
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Smoke: Gluster Build System <jenkins at build.gluster.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
--
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=p7zMvnDyHN&a=cc_unsubscribe
More information about the Bugs
mailing list