nwnss: fix ZLSS logical-volume work callback casts
This commit is contained in:
@@ -1299,7 +1299,7 @@ STATUS ZLSSVOL_RenameZVLBAsync(
|
||||
FSMLITE_INIT( &ri->RI_fsmLite, MSGNot("ZLSSVOL_RenameZVLBAsync"),
|
||||
ZLSSVOL_RenameZVLBAsyncInstance++ );
|
||||
|
||||
WORK_Schedule( &ri->RI_fsmLite, ZVL_RenameThread, (ADDR)ri);
|
||||
WORK_Schedule( &ri->RI_fsmLite, (voidfunc_t)ZVL_RenameThread, (ADDR)ri);
|
||||
return( zOK );
|
||||
|
||||
} /* End of ZLSSVOL_RenameZVLBAsync() */
|
||||
@@ -5378,7 +5378,7 @@ STATUS ZLSSVOL_LV_ZVLRenameAsync(
|
||||
MSGNot("ZLSSVOL_LV_ZVLRenameAsync"),
|
||||
ZLSSVOL_LV_ZVLRenameAsyncInstance++ );
|
||||
|
||||
WORK_Schedule( &ri->RI_fsmLite, ZLSSVOL_LV_ZVLRenameThread, (ADDR)ri);
|
||||
WORK_Schedule( &ri->RI_fsmLite, (voidfunc_t)ZLSSVOL_LV_ZVLRenameThread, (ADDR)ri);
|
||||
return( zOK );
|
||||
|
||||
} /* End of ZLSSVOL_LV_ZVLRenameAsync() */
|
||||
@@ -5416,7 +5416,7 @@ STATUS ZLSSVOL_LV_ZVLDeleteAsync(
|
||||
MSGNot("ZLSSVOL_LV_ZVLDeleteAsync"),
|
||||
ZLSSVOL_LV_ZVLDeleteAsyncInstance++ );
|
||||
|
||||
WORK_Schedule( &di->DI_fsmLite, ZLSSVOL_LV_ZVLDeleteThread, (ADDR)di);
|
||||
WORK_Schedule( &di->DI_fsmLite, (voidfunc_t)ZLSSVOL_LV_ZVLDeleteThread, (ADDR)di);
|
||||
return( zOK );
|
||||
|
||||
} /* End of ZLSSVOL_LV_ZVLDeleteAsync() */
|
||||
@@ -8987,7 +8987,7 @@ STATUS ZLSSVOL_LVD_DeletePurge(
|
||||
++zVolume->ZFSVOLfile.FILEuseCount;
|
||||
zVolume->ZV_stopPurge = FALSE;
|
||||
WORK_Schedule( &dqi->DQI_Dti.DTI_fsmLite,
|
||||
ZLSSVOL_LVD_DeletePurgeThread, (ADDR)dqi);
|
||||
(voidfunc_t)ZLSSVOL_LVD_DeletePurgeThread, (ADDR)dqi);
|
||||
/* Thread will release zVolume use count */
|
||||
return( zOK );
|
||||
|
||||
@@ -9164,7 +9164,7 @@ STATUS ZLSSVOL_LVD_DeleteScanUndelete(
|
||||
ZLSS_DQI_INUSE( dqi );
|
||||
/* Schedule thread to remove dqi from list async */
|
||||
WORK_Schedule( &dqi->DQI_Dti.DTI_fsmLite,
|
||||
ZLSSVOL_LVD_DeleteUndeleteThread, (ADDR)dqi);
|
||||
(voidfunc_t)ZLSSVOL_LVD_DeleteUndeleteThread, (ADDR)dqi);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -9483,7 +9483,7 @@ void ZLSSVOL_LVD_DeleteScanTimer(
|
||||
ZLSSLVDeleteList.ZDL_scheduledTime = GetUTCTime();
|
||||
/* Schedule a thread to do the work later (so we will not block) */
|
||||
WORK_Schedule( &ZLSSLVDeleteList.ZDL_fsmLite,
|
||||
ZLSSVOL_LVD_DeleteScanThread, 0);
|
||||
(voidfunc_t)ZLSSVOL_LVD_DeleteScanThread, 0);
|
||||
return;
|
||||
|
||||
} /* End of ZLSSVOL_LVD_DeleteScanTimer() */
|
||||
|
||||
Reference in New Issue
Block a user