aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 4c5e68e4e9ae..8184342440f0 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -2261,7 +2261,7 @@ static int __init init_tmpfs(void)
2261#ifdef CONFIG_TMPFS 2261#ifdef CONFIG_TMPFS
2262 devfs_mk_dir("shm"); 2262 devfs_mk_dir("shm");
2263#endif 2263#endif
2264 shm_mnt = do_kern_mount(tmpfs_fs_type.name, MS_NOUSER, 2264 shm_mnt = vfs_kern_mount(&tmpfs_fs_type, MS_NOUSER,
2265 tmpfs_fs_type.name, NULL); 2265 tmpfs_fs_type.name, NULL);
2266 if (IS_ERR(shm_mnt)) { 2266 if (IS_ERR(shm_mnt)) {
2267 error = PTR_ERR(shm_mnt); 2267 error = PTR_ERR(shm_mnt);