minix/lib/libvtreefs/utility.c

30 lines
802 B
C
Raw Normal View History

2010-08-10 22:05:51 +02:00
/* VTreeFS - utility.c - by Alen Stojanov and David van Moolenbroek */
#include "inc.h"
/*===========================================================================*
* no_sys *
*===========================================================================*/
PUBLIC int no_sys(void)
{
/* This call is not recognized by VTreeFS. If a message hook is
* defined, let it handle the call; otherwise return ENOSYS.
*/
if (vtreefs_hooks->message_hook != NULL)
return vtreefs_hooks->message_hook(&fs_m_in);
return ENOSYS;
}
/*===========================================================================*
* do_noop *
*===========================================================================*/
PUBLIC int do_noop(void)
{
/* This call has no effect.
*/
return OK;
}