no need to call amount

This commit is contained in:
rsc 2006-06-26 00:05:34 +00:00
parent 66cf8a3904
commit 9bddce0e08

View file

@ -3,7 +3,6 @@
#include <fcall.h> #include <fcall.h>
#include <thread.h> #include <thread.h>
#include <9p.h> #include <9p.h>
#include <auth.h>
#include "post.h" #include "post.h"
Postcrud* Postcrud*
@ -67,10 +66,12 @@ _post3(Postcrud *p)
close(p->s->outfd); close(p->s->outfd);
} }
#if 0
if(p->mtpt){ if(p->mtpt){
if(amount(p->s->srvfd, p->mtpt, p->flag, "") == -1) if(amount(p->s->srvfd, p->mtpt, p->flag, "") == -1)
sysfatal("mount %s: %r", p->mtpt); sysfatal("mount %s: %r", p->mtpt);
}else }else
#endif
close(p->s->srvfd); close(p->s->srvfd);
free(p); free(p);
} }