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

Next file: linux/fs/sysv/file.c
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.59/linux/fs/sysv/dir.c linux/fs/sysv/dir.c
@@ -21,8 +21,8 @@
 
 #include <asm/uaccess.h>
 
-static long sysv_dir_read(struct inode * inode, struct file * filp,
-	char * buf, unsigned long count)
+static ssize_t sysv_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