]> err.no Git - linux-2.6/blobdiff - mm/shmem.c
[ARM] 3672/1: PXA: don't probe output GPIOs for interrupt
[linux-2.6] / mm / shmem.c
index 84b5cf9b63c519b64b9682f9747152bc10407800..38bc3334f2633a4bfe9ed0e40361d075ec35d8ec 100644 (file)
@@ -2255,7 +2255,7 @@ static int __init init_tmpfs(void)
 #ifdef CONFIG_TMPFS
        devfs_mk_dir("shm");
 #endif
-       shm_mnt = do_kern_mount(tmpfs_fs_type.name, MS_NOUSER,
+       shm_mnt = vfs_kern_mount(&tmpfs_fs_type, MS_NOUSER,
                                tmpfs_fs_type.name, NULL);
        if (IS_ERR(shm_mnt)) {
                error = PTR_ERR(shm_mnt);