OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2032-g9ed26da
Gerrit Code Review
gerrit@openafs.org
Mon, 26 Dec 2011 20:34:01 -0800 (PST)
The following commit has been merged in the master branch:
commit 9ed26da26f4a5a3fef3bf0a7b6f9dae751ce6659
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Dec 21 16:05:40 2011 -0500
afs: Cope with afs_GetValidDSlot errors
Make callers of afs_GetValidDSlot deal with getting a NULL dcache,
which can occur if an error is encountered. Some of these just panic
at least for now, since a code path for recovery is complex, but this
is at least better than dereferencing a NULL pointer.
Change-Id: I4022a914bbaa0e1f3f4daadfdc32d165a6e2febd
Reviewed-on: http://gerrit.openafs.org/6418
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/afs_buffer.c | 2 +-
src/afs/afs_daemons.c | 2 +-
src/afs/afs_dcache.c | 34 ++++++++++++++++++++++------------
src/afs/afs_disconnected.c | 10 ++++++----
src/afs/afs_pioctl.c | 3 +++
src/afs/afs_segments.c | 20 +++++++++++++++++++-
6 files changed, 52 insertions(+), 19 deletions(-)
--
OpenAFS Master Repository