patch-2.1.1 linux/fs/ncpfs/file.c
Next file: linux/fs/read_write.c
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Oct 1 17:46:35 1996
- Orig file:
v2.1.0/linux/fs/ncpfs/file.c
- Orig date:
Sun Jun 2 11:21:10 1996
diff -u --recursive --new-file v2.1.0/linux/fs/ncpfs/file.c linux/fs/ncpfs/file.c
@@ -80,8 +80,8 @@
return -EACCES;
}
-static int
-ncp_file_read(struct inode *inode, struct file *file, char *buf, int count)
+static long
+ncp_file_read(struct inode *inode, struct file *file, char *buf, unsigned long count)
{
int bufsize, already_read;
off_t pos;
@@ -164,9 +164,9 @@
return already_read;
}
-static int
+static long
ncp_file_write(struct inode *inode, struct file *file, const char *buf,
- int count)
+ unsigned long count)
{
int bufsize, already_written;
off_t pos;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov