minix/lib/libvtreefs/utility.c

30 lines
788 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 *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int no_sys(void)
2010-08-10 22:05:51 +02:00
{
/* 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 *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int do_noop(void)
2010-08-10 22:05:51 +02:00
{
/* This call has no effect.
*/
return OK;
}