patch-2.3.48 linux/fs/fat/dir.c

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

diff -u --recursive --new-file v2.3.47/linux/fs/fat/dir.c linux/fs/fat/dir.c
@@ -34,14 +34,8 @@
 
 #define PRINTK(X)
 
-static ssize_t fat_dir_read(struct file * filp, char * buf,
-			    size_t count, loff_t *ppos)
-{
-	return -EISDIR;
-}
-
 struct file_operations fat_dir_operations = {
-	read:		fat_dir_read,
+	read:		generic_read_dir,
 	readdir:	fat_readdir,
 	ioctl:		fat_dir_ioctl,
 	fsync:		file_fsync,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)