diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 1e43c8a865ba..7617bb1c6bf7 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2233,10 +2233,10 @@ static struct vm_operations_struct shmem_vm_ops = { | |||
2233 | }; | 2233 | }; |
2234 | 2234 | ||
2235 | 2235 | ||
2236 | static struct super_block *shmem_get_sb(struct file_system_type *fs_type, | 2236 | static int shmem_get_sb(struct file_system_type *fs_type, |
2237 | int flags, const char *dev_name, void *data) | 2237 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) |
2238 | { | 2238 | { |
2239 | return get_sb_nodev(fs_type, flags, data, shmem_fill_super); | 2239 | return get_sb_nodev(fs_type, flags, data, shmem_fill_super, mnt); |
2240 | } | 2240 | } |
2241 | 2241 | ||
2242 | static struct file_system_type tmpfs_fs_type = { | 2242 | static struct file_system_type tmpfs_fs_type = { |