patch-2.0.21-2.1.0 linux/fs/sysv/file.c
Next file: linux/fs/umsdos/dir.c
Previous file: linux/fs/sysv/dir.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Mon Sep 30 11:10:36 1996
- Orig file:
lx2.0/v2.0.21/linux/fs/sysv/file.c
- Orig date:
Mon May 6 12:26:15 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/fs/sysv/file.c linux/fs/sysv/file.c
@@ -33,7 +33,7 @@
#include <linux/fs.h>
#include <linux/sysv_fs.h>
-static int sysv_file_write(struct inode *, struct file *, const char *, int);
+static long sysv_file_write(struct inode *, struct file *, const char *, unsigned long);
/*
* We have mostly NULL's here: the current defaults are ok for
@@ -72,7 +72,8 @@
NULL /* permission */
};
-int sysv_file_read(struct inode * inode, struct file * filp, char * buf, int count)
+long sysv_file_read(struct inode * inode, struct file * filp,
+ char * buf, unsigned long count)
{
struct super_block * sb = inode->i_sb;
int read,left,chars;
@@ -199,7 +200,8 @@
return read;
}
-static int sysv_file_write(struct inode * inode, struct file * filp, const char * buf, int count)
+static long sysv_file_write(struct inode * inode, struct file * filp,
+ const char * buf, unsigned long count)
{
struct super_block * sb = inode->i_sb;
off_t pos;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov