Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/coda Fix incorrect comments about the buffer size being ...



details:   https://anonhg.NetBSD.org/src/rev/736ff50464e3
branches:  trunk
changeset: 756921:736ff50464e3
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Aug 07 20:39:33 2010 +0000

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

diffstat:

 sys/coda/coda.h        |  6 +++---
 sys/coda/coda_pioctl.h |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 3e6d540b8206 -r 736ff50464e3 sys/coda/coda.h
--- a/sys/coda/coda.h   Sat Aug 07 20:38:13 2010 +0000
+++ b/sys/coda/coda.h   Sat Aug 07 20:39:33 2010 +0000
@@ -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 {
diff -r 3e6d540b8206 -r 736ff50464e3 sys/coda/coda_pioctl.h
--- a/sys/coda/coda_pioctl.h    Sat Aug 07 20:38:13 2010 +0000
+++ b/sys/coda/coda_pioctl.h    Sat Aug 07 20:39:33 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index