[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6-block.git] / fs / devpts / inode.c
index 14c5620b5cabc0384c935565c98dda8582cf7527..f7aef5bb584a7deb5736f556da5b9155b754a760 100644 (file)
@@ -130,10 +130,10 @@ fail:
        return -ENOMEM;
 }
 
-static struct super_block *devpts_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int devpts_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, devpts_fill_super);
+       return get_sb_single(fs_type, flags, data, devpts_fill_super, mnt);
 }
 
 static struct file_system_type devpts_fs_type = {