patch-2.1.9 linux/fs/affs/dir.c
Next file: linux/fs/affs/file.c
Previous file: linux/fs/affs/bitmap.c
Back to the patch index
Back to the overall index
-  Lines: 21
-  Date:
Sun Nov 10 14:05:48 1996
-  Orig file: 
v2.1.8/linux/fs/affs/dir.c
-  Orig date: 
Tue Oct 29 19:58:19 1996
diff -u --recursive --new-file v2.1.8/linux/fs/affs/dir.c linux/fs/affs/dir.c
@@ -24,7 +24,8 @@
 #include <linux/amigaffs.h>
 
 static int affs_readdir(struct inode *, struct file *, void *, filldir_t);
-static int affs_dir_read(struct inode * inode, struct file * filp, char * buf, int count);
+static long affs_dir_read(struct inode * inode, struct file * filp, char * buf,
+			  unsigned long count);
 
 static struct file_operations affs_dir_operations = {
 	NULL,			/* lseek - default */
@@ -62,8 +63,8 @@
 	NULL			/* permissions */
 };
 
-static int
-affs_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
+static long
+affs_dir_read(struct inode * inode, struct file * filp, char * buf, unsigned long count)
 {
 	return -EISDIR;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov