diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-12-13 04:07:05 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 03:52:39 (GMT) |
commit | 79e801a906db46cb8efad66c400b01df874b3f12 (patch) | |
tree | 2b5c2e414181dd0101d3506166948aac1b34ef7c /fs/namespace.c | |
parent | a5166169f9b920cae3c503910cb66a3ac5dd846d (diff) | |
download | linux-79e801a906db46cb8efad66c400b01df874b3f12.tar.xz |
vfs: make do_kern_mount() static
the only user outside of fs/namespace.c has died
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r-- | fs/namespace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index ed21ac4..7a8f949 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1929,7 +1929,7 @@ static struct vfsmount *fs_set_subtype(struct vfsmount *mnt, const char *fstype) return ERR_PTR(err); } -struct vfsmount * +static struct vfsmount * do_kern_mount(const char *fstype, int flags, const char *name, void *data) { struct file_system_type *type = get_fs_type(fstype); @@ -1943,7 +1943,6 @@ do_kern_mount(const char *fstype, int flags, const char *name, void *data) put_filesystem(type); return mnt; } -EXPORT_SYMBOL_GPL(do_kern_mount); /* * add a mount into a namespace's mount tree |