Fix incorrect comments about the buffer size being 2K; it is really 8K now.

From Robert Watson.
This commit is contained in:
christos 2010-08-07 20:39:33 +00:00
parent bbd9165a6e
commit 0882e5d877
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: coda.h,v 1.16 2010/07/20 17:26:03 christos Exp $ */
/* $NetBSD: coda.h,v 1.17 2010/08/07 20:39:33 christos Exp $ */
/*
@ -793,8 +793,8 @@ union coda_downcalls {
#define PIOCPARM_MASK 0x0000ffff
struct ViceIoctl {
void *in, *out; /* Data to be transferred in, or out */
unsigned short in_size; /* Size of input buffer <= 2K */
unsigned short out_size;/* Maximum size of output buffer, <= 2K */
unsigned short in_size; /* Size of input buffer <= 8K */
unsigned short out_size;/* Maximum size of output buffer, <= 8K */
};
struct PioctlData {

View File

@ -1,4 +1,4 @@
/* $NetBSD: coda_pioctl.h,v 1.7 2005/12/11 12:19:50 christos Exp $ */
/* $NetBSD: coda_pioctl.h,v 1.8 2010/08/07 20:39:33 christos Exp $ */
/*
*
@ -51,7 +51,7 @@
#ifndef _SYS_PIOCTL_H_
#define _SYS_PIOCTL_H_
/* The 2K limits above are a consequence of the size of the kernel buffer
/* The 8K limits above are a consequence of the size of the kernel buffer
used to buffer requests from the user to venus--2*MAXPATHLEN.
The buffer pointers may be null, or the counts may be 0 if there
are no input or output parameters