void shutdown_osi(void) { AFS_STATCNT(shutdown_osi); #ifdef AFS_DARWIN80_ENV if (afs_osi_ctxtp_initialized && afs_osi_ctxtp) { vfs_context_rele(afs_osi_ctxtp); afs_osi_ctxtp = NULL; afs_osi_ctxtp_initialized = 0; } shutdown_osisleep(); #endif if (afs_cold_shutdown) { LOCK_INIT(&afs_ftf, "afs_ftf"); } }
void shutdown_osi(void) { AFS_STATCNT(shutdown_osi); #ifdef AFS_DARWIN80_ENV if (afs_osi_ctxtp_initialized && afs_osi_ctxtp) { vfs_context_rele(afs_osi_ctxtp); afs_osi_ctxtp = NULL; afs_osi_ctxtp_initialized = 0; } #endif #if !defined(AFS_HPUX_ENV) && !defined(UKERNEL) && !defined(AFS_DFBSD_ENV) && !defined(AFS_LINUX26_ENV) /* LINUX calls this from afs_cleanup() which hooks into module_exit */ shutdown_osisleep(); #endif if (afs_cold_shutdown) { LOCK_INIT(&afs_ftf, "afs_ftf"); } }