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