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

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

diff -u --recursive --new-file v1.3.14/linux/fs/nfs/proc.c linux/fs/nfs/proc.c
@@ -144,7 +144,7 @@
 }
 
 
-static inline int *xdr_encode_data(int *p, char *data, int len)
+static inline int *xdr_encode_data(int *p, const char *data, int len)
 {
 	int quadlen = QUADLEN(len);
 	
@@ -423,7 +423,7 @@
 }
 
 int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle,
-		   int offset, int count, char *data, struct nfs_fattr *fattr)
+		   int offset, int count, const char *data, struct nfs_fattr *fattr)
 {
 	int *p, *p0;
 	int status;

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