diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 15:34:16 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 15:34:16 +0200 |
commit | 1f5ce9e93aa96a867f195ed45f6f77935175f12e (patch) | |
tree | caa9b6635990f69d47c1729524bd127e968b23f5 /mm/shmem.c | |
parent | VFS: Add GPL_EXPORTED function vfs_kern_mount() (diff) | |
download | linux-1f5ce9e93aa96a867f195ed45f6f77935175f12e.tar.xz linux-1f5ce9e93aa96a867f195ed45f6f77935175f12e.zip |
VFS: Unexport do_kern_mount() and clean up simple_pin_fs()
Replace all module uses with the new vfs_kern_mount() interface, and fix up
simple_pin_fs().
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'mm/shmem.c')
-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 4c5e68e4e9ae..8184342440f0 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -2261,7 +2261,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); |