Rename tell_fs to tell_vfs

This commit is contained in:
Arun Thomas 2010-06-09 14:31:30 +00:00
parent 4fe558f44f
commit eec65ac664
7 changed files with 15 additions and 15 deletions

View file

@ -48,7 +48,7 @@ PUBLIC int do_exec()
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;

View file

@ -110,7 +110,7 @@ PUBLIC int do_fork()
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)
@ -197,7 +197,7 @@ PUBLIC int do_srv_fork()
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)
@ -303,7 +303,7 @@ int dump_core; /* flag indicating whether to dump core */
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)
{

View file

@ -159,9 +159,9 @@ PUBLIC int do_set()
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);
}

View file

@ -393,10 +393,10 @@ PUBLIC int do_reboot()
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 */
}

View file

@ -108,4 +108,4 @@ _PROTOTYPE( int no_sys, (void) );
_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) );

View file

@ -665,7 +665,7 @@ struct mproc *rmp; /* which process */
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);

View file

@ -6,7 +6,7 @@
* 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"
@ -118,9 +118,9 @@ PUBLIC int pm_isokendpt(int endpoint, int *proc)
}
/*===========================================================================*
* tell_fs *
* tell_vfs *
*===========================================================================*/
PUBLIC void tell_fs(rmp, m_ptr)
PUBLIC void tell_vfs(rmp, m_ptr)
struct mproc *rmp;
message *m_ptr;
{
@ -129,7 +129,7 @@ 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)