minix/servers/pfs/mount.c

19 lines
445 B
C
Raw Normal View History

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