aboutsummaryrefslogtreecommitdiff
path: root/src/lib9p
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-06-26 00:05:34 +0000
committerrsc <devnull@localhost>2006-06-26 00:05:34 +0000
commit9bddce0e087ce1fda340f40415c1869074fbc138 (patch)
tree66731461e838d186554e22b479ce5102564b4462 /src/lib9p
parent66cf8a390447d8d09d2f4653fdd334f4c145f50f (diff)
downloadplan9port-9bddce0e087ce1fda340f40415c1869074fbc138.tar.gz
plan9port-9bddce0e087ce1fda340f40415c1869074fbc138.tar.bz2
plan9port-9bddce0e087ce1fda340f40415c1869074fbc138.zip
no need to call amount
Diffstat (limited to 'src/lib9p')
-rw-r--r--src/lib9p/_post.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib9p/_post.c b/src/lib9p/_post.c
index 4420c2d7..151e45ff 100644
--- a/src/lib9p/_post.c
+++ b/src/lib9p/_post.c
@@ -3,7 +3,6 @@
#include <fcall.h>
#include <thread.h>
#include <9p.h>
-#include <auth.h>
#include "post.h"
Postcrud*
@@ -67,10 +66,12 @@ _post3(Postcrud *p)
close(p->s->outfd);
}
+#if 0
if(p->mtpt){
if(amount(p->s->srvfd, p->mtpt, p->flag, "") == -1)
sysfatal("mount %s: %r", p->mtpt);
}else
+#endif
close(p->s->srvfd);
free(p);
}