[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6-block.git] / fs / befs / linuxvfs.c
index 68ebd10f345db87fc2d7cee847d16431168e257c..6ed07a5f10c6b3eaff3f17a5aae941d748190bef 100644 (file)
@@ -899,11 +899,12 @@ befs_statfs(struct super_block *sb, struct kstatfs *buf)
        return 0;
 }
 
-static struct super_block *
+static int
 befs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name,
-           void *data)
+           void *data, struct vfsmount *mnt)
 {
-       return get_sb_bdev(fs_type, flags, dev_name, data, befs_fill_super);
+       return get_sb_bdev(fs_type, flags, dev_name, data, befs_fill_super,
+                          mnt);
 }
 
 static struct file_system_type befs_fs_type = {