patch-2.1.16 linux/include/linux/ncp_mount.h
Next file: linux/include/linux/netdevice.h
Previous file: linux/include/linux/miscdevice.h
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
Mon Dec 16 14:36:16 1996
-  Orig file: 
v2.1.15/linux/include/linux/ncp_mount.h
-  Orig date: 
Sun Aug  4 15:14:16 1996
diff -u --recursive --new-file v2.1.15/linux/include/linux/ncp_mount.h linux/include/linux/ncp_mount.h
@@ -22,6 +22,9 @@
 #define NCP_MOUNT_SOFT 0x0001
 #define NCP_MOUNT_INTR 0x0002
 
+/* Gosh... */
+#define NCP_PATH_MAX 1024
+
 struct ncp_mount_data {
 	int version;
 	unsigned int ncp_fd;	/* The socket to the ncp port */
@@ -32,7 +35,7 @@
 	struct sockaddr_ipx serv_addr;
 	unsigned char server_name[NCP_BINDERY_NAME_LEN];
 
-	unsigned char mount_point[PATH_MAX+1];
+	unsigned char mount_point[NCP_PATH_MAX+1];
 	unsigned char mounted_vol[NCP_VOLNAME_LEN+1];
 
 	unsigned int time_out;	/* How long should I wait after
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov