OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2029-gb5ca12a
Gerrit Code Review
gerrit@openafs.org
Mon, 26 Dec 2011 20:29:00 -0800 (PST)
The following commit has been merged in the master branch:
commit b5ca12ac4696c4049be14974f1e946bb55e1c440
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.
Change-Id: I3d8350da18d075713356137a1cacf182a749fe3e
Reviewed-on: http://gerrit.openafs.org/6412
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