minix/servers/pfs/mount.c

19 lines
452 B
C
Raw Normal View History

2011-08-17 15:23:45 +02:00
#include "fs.h"
#include "glo.h"
/*===========================================================================*
* fs_unmount *
*===========================================================================*/
PUBLIC int fs_unmount(message *fs_m_in, message *fs_m_out)
{
/* Unmount Pipe File Server. */
if (busy) return(EBUSY); /* can't umount a busy file system */
/* Finish off the unmount. */
unmountdone = TRUE;
return(OK);
}