patch-pre2.0.5 linux/fs/nfs/nfsroot.c

Next file: linux/fs/nfs/rpcsock.c
Previous file: linux/fs/ncpfs/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -580,7 +580,7 @@
 	msg.msg_name = NULL;
 	msg.msg_iov = &iov;
 	msg.msg_iovlen = 1;
-	msg.msg_accrights = NULL;
+	msg.msg_control = NULL;
 	result = sock->ops->sendmsg(sock, &msg, size, 0, 0);
 	set_fs(oldfs);
 	return (result != size);
@@ -604,7 +604,7 @@
 	msg.msg_name = NULL;
 	msg.msg_iov = &iov;
 	msg.msg_iovlen = 1;
-	msg.msg_accrights = NULL;
+	msg.msg_control = NULL;
 	msg.msg_namelen = 0;
 	result = sock->ops->recvmsg(sock, &msg, size, O_NONBLOCK, 0, &msg.msg_namelen);
 	set_fs(oldfs);

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