patch-2.1.16 linux/fs/ncpfs/inode.c

Next file: linux/fs/nfs/bio.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -245,6 +245,12 @@
 	server->conn_status = 0;
 
         server->m = *data;
+	/* Althought anything producing this is buggy, it happens
+	   now because of PATH_MAX changes.. */
+	if (server->m.time_out < 10) {
+		server->m.time_out = 10;
+		printk("You need to recompile your ncpfs utils..\n");
+	}
 	server->m.file_mode = (server->m.file_mode &
 			       (S_IRWXU|S_IRWXG|S_IRWXO)) | S_IFREG;
 	server->m.dir_mode  = (server->m.dir_mode &

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov