From: Al Viro Date: Sun, 24 Feb 2008 06:43:03 +0000 (-0500) Subject: [PATCH] restore export of do_kern_mount() X-Git-Tag: firefly_0821_release~21870^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8a4e98d9d758d0eb751916e906fae40bda151b11;p=firefly-linux-kernel-4.4.55.git [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 --- diff --git a/fs/super.c b/fs/super.c index 010446d8c40a..dc02af0302fe 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) {