patch-2.3.47 linux/fs/ncpfs/sock.c
Next file: linux/fs/nfs/file.c
Previous file: linux/fs/minix/inode.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Feb 20 20:19:12 2000
- Orig file:
v2.3.46/linux/fs/ncpfs/sock.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.46/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
@@ -203,7 +203,8 @@
}
n = 0;
timeout = init_timeout;
- init_timeout <<= 1;
+ if (init_timeout < max_timeout)
+ init_timeout <<= 1;
if (!major_timeout_seen) {
printk(KERN_WARNING "NCP server not responding\n");
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)