From: Derrick Brashear Date: Wed, 26 Dec 2001 20:44:31 +0000 (+0000) Subject: STABLE12-afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011226 X-Git-Tag: openafs-stable-1_2_3~65 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c241c4bd6c7c8256a72bb12730fee76c7682d36b;p=packages%2Fo%2Fopenafs.git STABLE12-afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011226 the equivalent of what's done in InstallUVolumeEntry to avoid a deadlock but just for this server since it's all we're dealing with --- diff --git a/src/afs/afs_volume.c b/src/afs/afs_volume.c index 53da1b47f..239f0c396 100644 --- a/src/afs/afs_volume.c +++ b/src/afs/afs_volume.c @@ -225,6 +225,7 @@ void afs_ResetVolumes(struct server *srvp) for (vp=afs_volumes[j]; vp; vp=vp->next) { for (k=0; kserverHost[k] == srvp)) { + vp->serverHost[k] = 0; afs_ResetVolumeInfo(vp); break; }