tno need to call amount - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 9bddce0e087ce1fda340f40415c1869074fbc138
DIR parent 66cf8a390447d8d09d2f4653fdd334f4c145f50f
HTML Author: rsc <devnull@localhost>
Date: Mon, 26 Jun 2006 00:05:34 +0000
no need to call amount
Diffstat:
M src/lib9p/_post.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/src/lib9p/_post.c b/src/lib9p/_post.c
t@@ -3,7 +3,6 @@
#include <fcall.h>
#include <thread.h>
#include <9p.h>
-#include <auth.h>
#include "post.h"
Postcrud*
t@@ -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);
}