[PATCH] VFS: Permit filesystem to override root dentry on mount
[linux-2.6-block.git] / mm / shmem.c
index 1e43c8a865ba76924170f34471f32ad5a3cbdfdb..7617bb1c6bf78cd7789a40b2baa821e4fdb01837 100644 (file)
@@ -2233,10 +2233,10 @@ static struct vm_operations_struct shmem_vm_ops = {
 };
 
 
-static struct super_block *shmem_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int shmem_get_sb(struct file_system_type *fs_type,
+       int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_nodev(fs_type, flags, data, shmem_fill_super);
+       return get_sb_nodev(fs_type, flags, data, shmem_fill_super, mnt);
 }
 
 static struct file_system_type tmpfs_fs_type = {