mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
afs-resetvolumes-zero-serverhost-to-avoid-deadlock-20011120
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
This commit is contained in:
parent
c53a034e36
commit
7d38c7fe58
@ -225,6 +225,7 @@ void afs_ResetVolumes(struct server *srvp)
|
||||
for (vp=afs_volumes[j]; vp; vp=vp->next) {
|
||||
for (k=0; k<MAXHOSTS; k++) {
|
||||
if (!srvp || (vp->serverHost[k] == srvp)) {
|
||||
vp->serverHost[k] = 0;
|
||||
afs_ResetVolumeInfo(vp);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user