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

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)