projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde4f8f
)
[PATCH] restore export of do_kern_mount()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 24 Feb 2008 06:43:03 +0000
(
01:43
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 18 Mar 2008 02:58:04 +0000
(22:58 -0400)
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>
fs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/super.c
b/fs/super.c
index 010446d8c40a03512e4c1a8dc689581a67c5bbf3..dc02af0302fe68609d2de842c2394a677af7a642 100644
(file)
--- 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)
{