OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre2-143-g3127ec4
Gerrit Code Review
gerrit@openafs.org
Thu, 9 Aug 2012 08:03:13 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 3127ec4e693d2a3efaf2bba7a000cac69c624452
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Dec 22 15:01:52 2011 -0500
afs: Indicate error from afs_osi_Read/Write better
Currently afs_osi_Read and afs_osi_Write just return -1 on any I/O
error, even though they know the error code given from the OS VFS.
Just return that code instead so the caller can see what the error
was; but negate it, so it's clear that it is an error.
Reviewed-on: http://gerrit.openafs.org/6412
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit b5ca12ac4696c4049be14974f1e946bb55e1c440)
Change-Id: Ib5a674af7e0424691887b20d24782a6740d11414
Reviewed-on: http://gerrit.openafs.org/7938
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/AIX/osi_file.c | 8 ++++++--
src/afs/DARWIN/osi_file.c | 8 ++++++--
src/afs/FBSD/osi_file.c | 8 ++++++--
src/afs/HPUX/osi_file.c | 8 ++++++--
src/afs/IRIX/osi_file.c | 8 ++++++--
src/afs/LINUX/osi_file.c | 8 ++++++--
src/afs/LINUX24/osi_file.c | 8 ++++++--
src/afs/NBSD/osi_file.c | 11 ++++++++---
src/afs/OBSD/osi_file.c | 11 ++++++++---
src/afs/SOLARIS/osi_file.c | 8 ++++++--
10 files changed, 64 insertions(+), 22 deletions(-)
--
OpenAFS Master Repository