[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6-block.git] / fs / configfs / mount.c
index f920d30478e531a7a656548d9d9c7169a0cc99bf..94dab7bdd8518beef6528359ea178a1a6877b0d7 100644 (file)
@@ -103,10 +103,10 @@ static int configfs_fill_super(struct super_block *sb, void *data, int silent)
        return 0;
 }
 
-static struct super_block *configfs_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int configfs_get_sb(struct file_system_type *fs_type,
+       int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_single(fs_type, flags, data, configfs_fill_super);
+       return get_sb_single(fs_type, flags, data, configfs_fill_super, mnt);
 }
 
 static struct file_system_type configfs_fs_type = {