The following commit has been merged in the master branch:
commit c6b61a4510c0c34688b979182ea6f3823a840296
Author: Perry Ruiter <[email protected]>
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 <[email protected]>
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Garrett Wollman <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
Reviewed-by: D Brashear <[email protected]>
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
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs