Module Name:    src
Committed By:   christos
Date:           Sat Aug  7 20:39:33 UTC 2010

Modified Files:
        src/sys/coda: coda.h coda_pioctl.h

Log Message:
Fix incorrect comments about the buffer size being 2K; it is really 8K now.
>From Robert Watson.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/coda/coda.h
cvs rdiff -u -r1.7 -r1.8 src/sys/coda/coda_pioctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/coda/coda.h
diff -u src/sys/coda/coda.h:1.16 src/sys/coda/coda.h:1.17
--- src/sys/coda/coda.h:1.16	Tue Jul 20 13:26:03 2010
+++ src/sys/coda/coda.h	Sat Aug  7 16:39:33 2010
@@ -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 @@
 #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 {

Index: src/sys/coda/coda_pioctl.h
diff -u src/sys/coda/coda_pioctl.h:1.7 src/sys/coda/coda_pioctl.h:1.8
--- src/sys/coda/coda_pioctl.h:1.7	Sun Dec 11 07:19:50 2005
+++ src/sys/coda/coda_pioctl.h	Sat Aug  7 16:39:33 2010
@@ -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

Reply via email to