patch-pre2.0.13 linux/include/linux/uio.h

Next file: linux/include/net/ip_masq.h
Previous file: linux/include/linux/smb_mount.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.12/linux/include/linux/uio.h linux/include/linux/uio.h
@@ -12,7 +12,7 @@
 
 
 /* A word of warning: Our uio structure will clash with the C library one (which is now obsolete). Remove the C
-   library one from sys/uio.h */
+   library one from sys/uio.h if you have a very old library set */
 
 struct iovec
 {
@@ -20,6 +20,7 @@
 	int iov_len;
 };
 
-#define MAX_IOVEC	8	/* Maximum iovec's in one operation */
+#define UIO_MAXIOV	16	/* Maximum iovec's in one operation 
+				   16 matches BSD */
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this