DEVEL15-windows-callback-20080314

LICENSE MIT

Protect against a null volp


(cherry picked from commit 6fef8b7429)
This commit is contained in:
Jeffrey Altman 2008-03-14 16:55:25 +00:00
parent 5631232d3d
commit cca102a087

View File

@ -1820,6 +1820,9 @@ long cm_CBServersUp(cm_scache_t *scp, time_t * downTime)
return 1;
volp = cm_GetVolumeByFID(&scp->fid);
if (!volp)
return 1;
if (volp->rw.ID == volID) {
statep = &volp->rw;
} else if (volp->ro.ID == volID) {