Blob


1 #include <u.h>
2 #include <libc.h>
3 #include <fcall.h>
4 #include <thread.h>
5 #include <9p.h>
6 #include "post.h"
8 void
9 threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag)
10 {
11 Postcrud *p;
13 p = _post1(s, name, mtpt, flag);
14 if(procrfork(_post2, s, 32*1024, RFNAMEG|RFNOTEG) < 0)
15 sysfatal("procrfork: %r");
16 _post3(p);
17 }