Package: shfs-source
Version: 0.35-6
Followup-For: Bug #386229

In addition to the number of arguments of the function get_sb_nodev(),
the return-type was also changed to int which may explain why the patch
above oops'ed the kernel. This is fixed in the patch attached below.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (100, 'testing'), (10, 'stable'), (1, 'experimental')
Architecture: i386 (i486)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--- shfs/Linux-2.6/inode.c-1.3  2006-04-14 23:55:49.000000000 +0200
+++ shfs/Linux-2.6/inode.c      2006-09-26 20:25:09.000000000 +0200
@@ -341,11 +341,11 @@
        return -EINVAL;
 }
 
-static struct super_block *
+static int
 shfs_get_sb(struct file_system_type *fs_type,
-           int flags, const char *dev_name, void *data)
+           int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_nodev(fs_type, flags, data, shfs_read_super);
+       return get_sb_nodev(fs_type, flags, data, shfs_read_super, mnt);
 }
 
 static struct file_system_type sh_fs_type = {

Reply via email to