STABLE14-windows-cm_volume-recycling-20060825

do not panic if we reach maxVolumes and there is a volume entry that
can be recycled.


(cherry picked from commit 375a79f2a02ff2c16f9fcc54dba2b51e41b51c05)
This commit is contained in:
Jeffrey Altman 2006-08-25 16:25:21 +00:00
parent ba910b4285
commit 90b44c19a0

View File

@ -436,7 +436,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) {