Ah, looks like a change with readdir.c in 2.4.19-pre2 caused this
problem. Please try the attached patch, it fixes the problem for me.
Thanks to Dan Stekloff for helping in finding this fix.
thanks,
greg k-h
diff -Nru a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
--- a/drivers/hotplug/pci_hotplug_core.c Tue Aug 13 12:57:16 2002
+++ b/drivers/hotplug/pci_hotplug_core.c Tue Aug 13 12:57:16 2002
@@ -76,7 +76,6 @@
};
static struct super_operations pcihpfs_ops;
-static struct file_operations pcihpfs_dir_operations;
static struct file_operations default_file_operations;
static struct inode_operations pcihpfs_dir_inode_operations;
static struct vfsmount *pcihpfs_mount; /* one of the mounts of our fs for reference counting */
@@ -122,7 +121,7 @@
break;
case S_IFDIR:
inode->i_op = &pcihpfs_dir_inode_operations;
- inode->i_fop = &pcihpfs_dir_operations;
+ inode->i_fop = &dcache_dir_ops;
break;
}
}
@@ -234,11 +233,6 @@
return 0;
}
-
-static struct file_operations pcihpfs_dir_operations = {
- read: generic_read_dir,
- readdir: dcache_readdir,
-};
static struct file_operations default_file_operations = {
read: default_read_file,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/