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

Next file: linux/fs/ext2/file.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.59/linux/fs/ext2/dir.c linux/fs/ext2/dir.c
@@ -26,8 +26,8 @@
 #include <linux/sched.h>
 #include <linux/stat.h>
 
-static long ext2_dir_read (struct inode * inode, struct file * filp,
-			    char * buf, unsigned long count)
+static ssize_t ext2_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