Also no longer have avfs crash whenever a file system server crashes.
rfp = &fproc[i];
if (rfp->fp_endpoint == NONE) continue;
- /* Let FSes exit themselves */
- if (find_vmnt(rfp->fp_endpoint) != NULL) continue;
-
/* Don't just free the proc right away, but let it finish what it was
* doing first */
lock_proc(rfp, 0);
*/
unsuspend_by_endpt(exiter->fp_endpoint);
dmap_unmap_by_endpt(exiter->fp_endpoint);
- vmnt_unmap_by_endpt(exiter->fp_endpoint);
worker_stop_by_endpt(exiter->fp_endpoint);
/* Release root and working directories. */
_PROTOTYPE( void init_vmnts, (void) );
_PROTOTYPE( int lock_vmnt, (struct vmnt *vp, tll_access_t locktype) );
_PROTOTYPE( void unlock_vmnt, (struct vmnt *vp) );
-_PROTOTYPE( void vmnt_unmap_by_endpt, (endpoint_t proc_e) );
/* vnode.c */
_PROTOTYPE( void check_vnode_locks, (void) );
#endif
}
-
-/*===========================================================================*
- * vmnt_unmap_by_endpoint *
- *===========================================================================*/
-PUBLIC void vmnt_unmap_by_endpt(endpoint_t proc_e)
-{
- struct vmnt *vmp;
-
- if ((vmp = find_vmnt(proc_e)) != NULL)
- clear_vmnt(vmp);
-
-}