OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre2-149-g9a55866
Gerrit Code Review
gerrit@openafs.org
Tue, 14 Aug 2012 13:26:58 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 9a55866037f3742b0d418fc699424301cf7a27eb
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.
Reviewed-on: http://gerrit.openafs.org/6418
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 9ed26da26f4a5a3fef3bf0a7b6f9dae751ce6659)
Change-Id: I79c6fb3ae6279b5da482f95b4d4ed457beeaf1dd
Reviewed-on: http://gerrit.openafs.org/7941
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
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