minix3/fs/pfs/mount.c

19 lines
445 B
C
Raw Normal View History

2020-02-21 00:59:27 +05:30
#include "fs.h"
#include "glo.h"
/*===========================================================================*
* fs_unmount *
*===========================================================================*/
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);
}