From: Arun Thomas Date: Wed, 9 Jun 2010 14:31:30 +0000 (+0000) Subject: Rename tell_fs to tell_vfs X-Git-Tag: v3.1.8~462 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/addsub.png?a=commitdiff_plain;h=eec65ac664e83109f2129d68f540d6dadaf6d59c;p=minix.git Rename tell_fs to tell_vfs --- diff --git a/servers/pm/exec.c b/servers/pm/exec.c index f30d7212d..2b4d0367e 100644 --- a/servers/pm/exec.c +++ b/servers/pm/exec.c @@ -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; diff --git a/servers/pm/forkexit.c b/servers/pm/forkexit.c index 879d94823..163055ebc 100644 --- a/servers/pm/forkexit.c +++ b/servers/pm/forkexit.c @@ -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) { diff --git a/servers/pm/getset.c b/servers/pm/getset.c index 498e73619..f826c080d 100644 --- a/servers/pm/getset.c +++ b/servers/pm/getset.c @@ -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); } diff --git a/servers/pm/misc.c b/servers/pm/misc.c index 1534f1ef0..5c07b5cdc 100644 --- a/servers/pm/misc.c +++ b/servers/pm/misc.c @@ -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 */ } diff --git a/servers/pm/proto.h b/servers/pm/proto.h index c44f0d392..e706806e7 100644 --- a/servers/pm/proto.h +++ b/servers/pm/proto.h @@ -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) ); diff --git a/servers/pm/signal.c b/servers/pm/signal.c index be287d631..5a3b267f0 100644 --- a/servers/pm/signal.c +++ b/servers/pm/signal.c @@ -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); diff --git a/servers/pm/utility.c b/servers/pm/utility.c index 98c499ffd..aa636a686 100644 --- a/servers/pm/utility.c +++ b/servers/pm/utility.c @@ -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)