summaryrefslogtreecommitdiffstats
path: root/fs/fat/dir.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-02 02:36:47 +0000
commit8624512aa908741ba2795200133eae0d7f4557ea (patch)
treed5d3036fccf2604f4c98dedc11e8adb929d6b52e /fs/fat/dir.c
parent7b8f5d6f1d45d9f9de1d26e7d3c32aa5af11b488 (diff)
Merge with 2.3.48.
Diffstat (limited to 'fs/fat/dir.c')
-rw-r--r--fs/fat/dir.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 804876270..8afd15335 100644
--- a/fs/fat/dir.c
+++ b/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,