This is a patch that fixes the build problem with kernel 2.6.18.  This is not a
backwards compatible patch.

Best Regards.

--- cdfs/2.6/root.c.orig	2006-09-20 18:15:33.000000000 -0700
+++ cdfs/2.6/root.c	2006-09-20 18:29:39.000000000 -0700
@@ -543,8 +543,8 @@
 #ifdef OLD_KERNEL
 static DECLARE_FSTYPE_DEV(cdfs_fs_type, FSNAME, cdfs_mount);
 #else
-static struct super_block *cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) {
-  return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super);
+static struct super_block *cdfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) {
+  return get_sb_bdev(fs_type, flags, dev_name, data, cdfs_fill_super, mnt);
 }
 
 static struct file_system_type cdfs_fs_type = {

Reply via email to