patch-2.1.22 linux/fs/nfs/rpcsock.c
Next file: linux/fs/smbfs/inode.c
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Jan 19 15:47:26 1997
- Orig file:
v2.1.21/linux/fs/nfs/rpcsock.c
- Orig date:
Thu Dec 12 19:37:18 1996
diff -u --recursive --new-file v2.1.21/linux/fs/nfs/rpcsock.c linux/fs/nfs/rpcsock.c
@@ -361,6 +361,9 @@
if (result < 4) {
printk(KERN_WARNING "RPC: impossible RPC reply size %d\n",
result);
+ iov[0].iov_base=(void*)&xid; /* xid=32bits, which is large enough */
+ iov[0].iov_len=result;
+ rpc_recvmsg(rsock, iov, 1, result, 0);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov