patch-1.3.15 linux/fs/ext2/file.c

Next file: linux/fs/isofs/namei.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/ext2/file.c linux/fs/ext2/file.c
@@ -35,7 +35,7 @@
 #include <linux/ext2_fs.h>
 
 static int ext2_file_read (struct inode *, struct file *, char *, int);
-static int ext2_file_write (struct inode *, struct file *, char *, int);
+static int ext2_file_write (struct inode *, struct file *, const char *, int);
 static void ext2_release_file (struct inode *, struct file *);
 
 /*
@@ -229,7 +229,7 @@
 }
 
 static int ext2_file_write (struct inode * inode, struct file * filp,
-			    char * buf, int count)
+			    const char * buf, int count)
 {
 	const loff_t two_gb = 2147483647;
 	loff_t pos;

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