patch-pre2.0.13 linux/fs/nfs/rpcsock.c

Next file: linux/fs/read_write.c
Previous file: linux/fs/file_table.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.12/linux/fs/nfs/rpcsock.c linux/fs/nfs/rpcsock.c
@@ -302,7 +302,7 @@
 rpc_send(struct rpc_sock *rsock, struct rpc_wait *slot)
 {
 	struct rpc_ioreq *req = slot->w_req;
-	struct iovec	iov[MAX_IOVEC];
+	struct iovec	iov[UIO_MAXIOV];
 
 	if (rsock->shutdown)
 		return -EIO;
@@ -336,7 +336,7 @@
 {
 	struct rpc_wait	*rovr;
 	struct rpc_ioreq *req;
-	struct iovec	iov[MAX_IOVEC];
+	struct iovec	iov[UIO_MAXIOV];
 	u32		xid;
 	int		safe, result;
 

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