patch-1.3.15 linux/fs/smbfs/proc.c

Next file: linux/fs/super.c
Previous file: linux/fs/smbfs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/smbfs/proc.c linux/fs/smbfs/proc.c
@@ -658,7 +658,7 @@
 
 int
 smb_proc_write(struct smb_server *server, struct smb_dirent *finfo,
-               off_t offset, int count, char *data)
+               off_t offset, int count, const char *data)
 {
         int res = 0;
         char *buf = server->packet;
@@ -1513,7 +1513,7 @@
 
 struct smb_prots {
 	enum smb_protocol prot;
-	char *name;
+	const char *name;
 };
 
 /* smb_proc_reconnect: We expect the server to be locked, so that you

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this