aboutsummaryrefslogtreecommitdiff
path: root/src/lib9p/tpost.c
blob: 68da19a74bc025289f251a87a8b91d086925562f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <u.h>
#include <libc.h>
#include <fcall.h>
#include <thread.h>
#include <9p.h>
#include "post.h"

void
threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag)
{
	Postcrud *p;

	p = _post1(s, name, mtpt, flag);
	if(procrfork(_post2, s, 32*1024, RFNAMEG|RFNOTEG) < 0)
		sysfatal("procrfork: %r");
	_post3(p);
}