diff options
Diffstat (limited to 'src/libplumb')
-rw-r--r-- | src/libplumb/fid.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libplumb/fid.c b/src/libplumb/fid.c index cea5ce02..ec133c82 100644 --- a/src/libplumb/fid.c +++ b/src/libplumb/fid.c @@ -9,6 +9,19 @@ 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) { if(fsplumb == nil) |