[PATCH] VFS: Permit filesystem to override root dentry on mount
[deliverable/linux.git] / fs / devfs / base.c
index 52f5059c4f311532d7898f5053ae520ed9f217df..51a97f1327453fea92ac48dc1b74573cc0f8fb30 100644 (file)
@@ -2549,11 +2549,11 @@ static int devfs_fill_super(struct super_block *sb, void *data, int silent)
        return -EINVAL;
 }                              /*  End Function devfs_fill_super  */
 
-static struct super_block *devfs_get_sb(struct file_system_type *fs_type,
-                                       int flags, const char *dev_name,
-                                       void *data)
+static int devfs_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, devfs_fill_super);
+       return get_sb_single(fs_type, flags, data, devfs_fill_super, mnt);
 }
 
 static struct file_system_type devfs_fs_type = {
This page took 0.023722 seconds and 5 git commands to generate.