diff options
author | Niels de Vos <ndevos@redhat.com> | 2016-03-08 05:39:01 +0100 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2016-03-30 08:28:37 -0700 |
commit | caccd6c205cd324ef184ac6333fb05acd0cc5d4e (patch) | |
tree | f7a5066098bb7ccb04e423455dc18a159e4aed8e /extras/devel-tools/devel-vagrant/ansible/roles/service | |
parent | 52f6c664a27cddad37196c91fbb4c03d7da774b3 (diff) |
gfapi: return EINVAL for unsupported lseek() operationsrelease-3.6
GlusterFS 3.8 contains support for SEEK_DATA/SEEK_HOLE. This protocol
extension is not available in 3.6. 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: 1315558
Change-Id: I142dde11923244809b03fcca8cd4c2f7d5ff3929
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/13633
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'extras/devel-tools/devel-vagrant/ansible/roles/service')
0 files changed, 0 insertions, 0 deletions