OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4379-gc6b61a4
Gerrit Code Review
gerrit@openafs.org
Mon, 6 Oct 2014 14:48:26 -0400
The following commit has been merged in the master branch:
commit c6b61a4510c0c34688b979182ea6f3823a840296
Author: Perry Ruiter <pruiter@sinenomine.net>
Date: Thu May 29 15:51:57 2014 -0700
afs: Verify osi_UFSOpen worked
In some builds (UKERNEL) osi_UFSOpen returns a NULL if it runs
into a problem. On the other builds osi_UFSOpen simply panics.
afs/afs_cell.c was checking for a NULL return but other callers
were not. Add checking logic to all callers.
This is a prepartory patch. A subsequent patch will have
osi_UFSOpen return NULL rather than panic for other builds too.
Change-Id: I3610a57dff59b84fe5ea8b1c862f3192157f255f
Reviewed-on: http://gerrit.openafs.org/11243
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Garrett Wollman <wollman@csail.mit.edu>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/afs/VNOPS/afs_vnop_read.c | 2 ++
src/afs/VNOPS/afs_vnop_symlink.c | 6 ++++++
src/afs/VNOPS/afs_vnop_write.c | 3 +++
src/afs/afs_dcache.c | 7 +++++++
src/afs/afs_init.c | 5 ++++-
src/afs/afs_volume.c | 28 +++++++++++++++++++++-------
6 files changed, 43 insertions(+), 8 deletions(-)
--
OpenAFS Master Repository