patch-2.1.60 linux/fs/affs/dir.c

Next file: linux/fs/affs/file.c
Previous file: linux/fs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.59/linux/fs/affs/dir.c linux/fs/affs/dir.c
@@ -24,8 +24,8 @@
 #include <linux/amigaffs.h>
 
 static int affs_readdir(struct file *, void *, filldir_t);
-static long affs_dir_read(struct inode * inode, struct file * filp, char * buf,
-			  unsigned long count);
+static ssize_t affs_dir_read(struct file * filp, char * buf,
+			     size_t count, loff_t *ppos);
 
 static struct file_operations affs_dir_operations = {
 	NULL,			/* lseek - default */
@@ -62,8 +62,8 @@
 	NULL			/* permissions */
 };
 
-static long
-affs_dir_read(struct inode *inode, struct file *filp, char *buf, unsigned long count)
+static ssize_t
+affs_dir_read(struct file *filp, char *buf, size_t count, loff_t *ppos)
 {
 	return -EISDIR;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov