From: Jeffrey Altman Date: Fri, 25 Aug 2006 16:23:51 +0000 (+0000) Subject: windows-cm_volume-recycling-20060825 X-Git-Tag: BP-openafs-windows-kdfs-ifs~1085 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=375a79f2a02ff2c16f9fcc54dba2b51e41b51c05 windows-cm_volume-recycling-20060825 do not panic if we reach maxVolumes and there is a volume entry that can be recycled. --- diff --git a/src/WINNT/afsd/cm_volume.c b/src/WINNT/afsd/cm_volume.c index 6f88515..7c9959b 100644 --- a/src/WINNT/afsd/cm_volume.c +++ b/src/WINNT/afsd/cm_volume.c @@ -431,7 +431,8 @@ long cm_GetVolumeByName(struct cm_cell *cellp, char *volumeNamep, break; } } - osi_panic("Exceeded Max Volumes", __FILE__, __LINE__); + if (!volp) + osi_panic("Exceeded Max Volumes", __FILE__, __LINE__); } if (volp) {