plumbunmount

This commit is contained in:
rsc 2006-06-25 23:55:37 +00:00
parent 70584625ae
commit 1dc6e083c1
2 changed files with 29 additions and 1 deletions

View file

@ -8,6 +8,19 @@ static CFsys *fsplumb;
static int pfd = -1;
static CFid *pfid;
int
plumbunmount(void)
{
CFsys *fsys;
if(fsplumb){
fsys = fsplumb;
fsplumb = nil;
fsunmount(fsys);
}
return 0;
}
int
plumbopen(char *name, int omode)
{