This is a quick hack that solves the build problem with kernel 2.6.18.  This is
not a backwards compatible patch.

Thanks.

--- lufs/kernel/Linux/2.6/inode.c.orig	2006-09-20 18:31:59.000000000 -0700
+++ lufs/kernel/Linux/2.6/inode.c	2006-09-20 18:33:02.000000000 -0700
@@ -510,9 +510,9 @@
     return -EINVAL;
 }
 
-static struct super_block *lu_get_sb(struct file_system_type *fs_type, int flags, char *dev_name, void *data)
+static struct super_block *lu_get_sb(struct file_system_type *fs_type, int flags, char *dev_name, void *data, struct vfsmount *mnt)
 {
-    return get_sb_nodev(fs_type, flags, data, lu_fill_super);
+    return get_sb_nodev(fs_type, flags, data, lu_fill_super, mnt);
 }
 
 static struct file_system_type lu_fs_type = {

Reply via email to