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>
This commit is contained in:
Trond Myklebust
2006-06-09 09:34:16 -04:00
parent bb4a58bf46
commit 1f5ce9e93a
14 changed files with 17 additions and 16 deletions

View File

@ -439,7 +439,7 @@ struct vfsmount *rpc_get_mount(void)
{
int err;
err = simple_pin_fs("rpc_pipefs", &rpc_mount, &rpc_mount_count);
err = simple_pin_fs(&rpc_pipe_fs_type, &rpc_mount, &rpc_mount_count);
if (err != 0)
return ERR_PTR(err);
return rpc_mount;