summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-02-24 01:43:03 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2008-03-17 22:58:04 -0400
commit8a4e98d9d758d0eb751916e906fae40bda151b11 (patch)
treec7d94a18308b55cb9de1837f839af7fdfb8b624e /fs/super.c
parentbde4f8fa8db2abd5ac9c542d76012d0fedab050f (diff)
downloadop-kernel-dev-8a4e98d9d758d0eb751916e906fae40bda151b11.zip
op-kernel-dev-8a4e98d9d758d0eb751916e906fae40bda151b11.tar.gz
[PATCH] restore export of do_kern_mount()
vfs_kern_mount() requires having a reference to fs type, which makes it impossible for module to create procfs, etc. private mount. Open-coding is not an option, since e.g. put_filesystem() is _not_ exported, and for a good reason. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/super.c b/fs/super.c
index 010446d..dc02af0 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -945,6 +945,7 @@ do_kern_mount(const char *fstype, int flags, const char *name, void *data)
put_filesystem(type);
return mnt;
}
+EXPORT_SYMBOL_GPL(do_kern_mount);
struct vfsmount *kern_mount_data(struct file_system_type *type, void *data)
{
OpenPOWER on IntegriCloud