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
- Lines: 16
- Date:
Sat Feb 26 20:33:06 2000
- Orig file:
v2.3.47/linux/fs/fat/dir.c
- Orig date:
Thu Feb 10 17:11:17 2000
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)