patch-1.3.15 linux/fs/ext/file.c
Next file: linux/fs/ext2/dir.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 1 10:02:42 1995
- Orig file:
v1.3.14/linux/fs/ext/file.c
- Orig date:
Tue Jun 27 14:11:39 1995
diff -u --recursive --new-file v1.3.14/linux/fs/ext/file.c linux/fs/ext/file.c
@@ -32,7 +32,7 @@
#include <linux/ext_fs.h>
static int ext_file_read(struct inode *, struct file *, char *, int);
-static int ext_file_write(struct inode *, struct file *, char *, int);
+static int ext_file_write(struct inode *, struct file *, const char *, int);
/*
* We have mostly NULL's here: the current defaults are ok for
@@ -194,7 +194,7 @@
return read;
}
-static int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count)
+static int ext_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
{
off_t pos;
int written,c;
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