~kris/9p

9hist

a726f80476216f85b1beb453e9c23174509f0dc2 — David du Colombier 32 years ago ff75974
Plan 9 from Bell Labs 1994-08-31
1 files changed, 7 insertions(+), 2 deletions(-)

M port/devmnt.c
M port/devmnt.c => port/devmnt.c +7 -2
@@ 31,7 31,7 @@ struct Mntalloc
	int	rpctag;
}mntalloc;

#define MAXRPC		(MAXFDATA+MAXMSG)
#define MAXRPC		(16*1024+MAXMSG)
#define limit(n, max)	(n > max ? max : n)

void	mattach(Mnt*, Chan*, char*);


@@ 138,7 138,12 @@ mntattach(char *muxattach)
	m->rip = 0;
	m->c = c;
	m->c->flag |= CMSG;
	m->blocksize = defmaxmsg;
	if(strcmp(bogus.spec, "16k") == 0) {
		m->blocksize = 16*1024;
		bogus.spec = "";
	}
	else
		m->blocksize = defmaxmsg;
	m->flags = bogus.flags & ~MCACHE;

	switch(devchar[m->c->type]) {