diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 84b5cf9b63c5..38bc3334f263 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2255,7 +2255,7 @@ static int __init init_tmpfs(void) | |||
2255 | #ifdef CONFIG_TMPFS | 2255 | #ifdef CONFIG_TMPFS |
2256 | devfs_mk_dir("shm"); | 2256 | devfs_mk_dir("shm"); |
2257 | #endif | 2257 | #endif |
2258 | shm_mnt = do_kern_mount(tmpfs_fs_type.name, MS_NOUSER, | 2258 | shm_mnt = vfs_kern_mount(&tmpfs_fs_type, MS_NOUSER, |
2259 | tmpfs_fs_type.name, NULL); | 2259 | tmpfs_fs_type.name, NULL); |
2260 | if (IS_ERR(shm_mnt)) { | 2260 | if (IS_ERR(shm_mnt)) { |
2261 | error = PTR_ERR(shm_mnt); | 2261 | error = PTR_ERR(shm_mnt); |