plumbunmount
This commit is contained in:
parent
70584625ae
commit
1dc6e083c1
2 changed files with 29 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue