m.PM_FRAME = m_in.stack_ptr;
m.PM_FRAME_LEN = m_in.stack_bytes;
- tell_fs(mp, &m);
+ tell_vfs(mp, &m);
/* Do not reply */
return SUSPEND;
m.PM_PPROC = rmp->mp_endpoint;
m.PM_CPID = rmc->mp_pid;
- tell_fs(rmc, &m);
+ tell_vfs(rmc, &m);
/* Tell the tracer, if any, about the new child */
if (rmc->mp_tracer != NO_TRACER)
m.PM_PPROC = rmp->mp_endpoint;
m.PM_CPID = rmc->mp_pid;
- tell_fs(rmc, &m);
+ tell_vfs(rmc, &m);
/* Tell the tracer, if any, about the new child */
if (rmc->mp_tracer != NO_TRACER)
m.m_type = dump_core ? PM_DUMPCORE : PM_EXIT;
m.PM_PROC = rmp->mp_endpoint;
- tell_fs(rmp, &m);
+ tell_vfs(rmp, &m);
if (rmp->mp_flags & PRIV_PROC)
{
return(EINVAL);
}
- /* Send the request to FS */
- tell_fs(rmp, &m);
+ /* Send the request to VFS */
+ tell_vfs(rmp, &m);
- /* Do not reply until FS has processed the request */
+ /* Do not reply until VFS has processed the request */
return(SUSPEND);
}
check_sig(-1, SIGKILL, FALSE /* ksig*/); /* kill all users except init */
sys_stop(INIT_PROC_NR); /* stop init, but keep it around */
- /* Tell FS to reboot */
+ /* Tell VFS to reboot */
m.m_type = PM_REBOOT;
- tell_fs(&mproc[VFS_PROC_NR], &m);
+ tell_vfs(&mproc[VFS_PROC_NR], &m);
return(SUSPEND); /* don't reply to caller */
}
_PROTOTYPE( char *find_param, (const char *key) );
_PROTOTYPE( struct mproc *find_proc, (pid_t lpid) );
_PROTOTYPE( int pm_isokendpt, (int ep, int *proc) );
-_PROTOTYPE( void tell_fs, (struct mproc *rmp, message *m_ptr) );
+_PROTOTYPE( void tell_vfs, (struct mproc *rmp, message *m_ptr) );
m.m_type = PM_UNPAUSE;
m.PM_PROC = rmp->mp_endpoint;
- tell_fs(rmp, &m);
+ tell_vfs(rmp, &m);
/* Also tell VM. */
vm_notify_sig_wrapper(rmp->mp_endpoint);
* find_param: look up a boot monitor parameter
* find_proc: return process pointer from pid number
* pm_isokendpt: check the validity of an endpoint
- * tell_fs: send a request to FS on behalf of a process
+ * tell_vfs: send a request to VFS on behalf of a process
*/
#include "pm.h"
}
/*===========================================================================*
- * tell_fs *
+ * tell_vfs *
*===========================================================================*/
-PUBLIC void tell_fs(rmp, m_ptr)
+PUBLIC void tell_vfs(rmp, m_ptr)
struct mproc *rmp;
message *m_ptr;
{
int r;
if (rmp->mp_flags & FS_CALL)
- panic("tell_fs: not idle: %d", m_ptr->m_type);
+ panic("tell_vfs: not idle: %d", m_ptr->m_type);
r = asynsend3(VFS_PROC_NR, m_ptr, AMF_NOREPLY);
if (r != OK)