summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 15:34:16 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 15:34:16 +0200
commit1f5ce9e93aa96a867f195ed45f6f77935175f12e (patch)
treecaa9b6635990f69d47c1729524bd127e968b23f5 /fs/super.c
parentVFS: Add GPL_EXPORTED function vfs_kern_mount() (diff)
downloadlinux-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 'fs/super.c')
-rw-r--r--fs/super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/super.c b/fs/super.c
index 848be4fc67a2..15f2afdbf82e 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -864,11 +864,9 @@ do_kern_mount(const char *fstype, int flags, const char *name, void *data)
return mnt;
}
-EXPORT_SYMBOL_GPL(do_kern_mount);
-
struct vfsmount *kern_mount(struct file_system_type *type)
{
- return do_kern_mount(type->name, 0, type->name, NULL);
+ return vfs_kern_mount(type, 0, type->name, NULL);
}
EXPORT_SYMBOL(kern_mount);