patch-1.3.15 linux/fs/nfs/file.c
Next file: linux/fs/nfs/proc.c
Previous file: linux/fs/nfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 1 10:02:43 1995
- Orig file:
v1.3.14/linux/fs/nfs/file.c
- Orig date:
Mon Apr 17 13:41:26 1995
diff -u --recursive --new-file v1.3.14/linux/fs/nfs/file.c linux/fs/nfs/file.c
@@ -31,7 +31,7 @@
#include <linux/malloc.h>
static int nfs_file_read(struct inode *, struct file *, char *, int);
-static int nfs_file_write(struct inode *, struct file *, char *, int);
+static int nfs_file_write(struct inode *, struct file *, const char *, int);
static int nfs_fsync(struct inode *, struct file *);
static struct file_operations nfs_file_operations = {
@@ -190,7 +190,7 @@
return i + hunk;
}
-static int nfs_file_write(struct inode *inode, struct file *file, char *buf,
+static int nfs_file_write(struct inode *inode, struct file *file, const char *buf,
int count)
{
int result, hunk, i, n, 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