summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2014-01-27 13:33:28 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-01-31 14:28:56 -0500
commit9115eac2c788c17b57c9256cb322fa7371972ddf (patch)
tree3cf34cad21f001d345c7d2f859a02d6add20799f
parentdfd948e32af2e7b28bcd7a490c0a30d4b8df2a36 (diff)
downloadlinux-stable-9115eac2c788c17b57c9256cb322fa7371972ddf.tar.gz
linux-stable-9115eac2c788c17b57c9256cb322fa7371972ddf.tar.bz2
linux-stable-9115eac2c788c17b57c9256cb322fa7371972ddf.zip
vfs: unexport the getname() symbol
Leaving getname() exported when putname() isn't is a bad idea. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/namei.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index bcb838e2e52f..445d9bbc21eb 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -209,7 +209,6 @@ getname(const char __user * filename)
{
return getname_flags(filename, 0, NULL);
}
-EXPORT_SYMBOL(getname);
#ifdef CONFIG_AUDITSYSCALL
void putname(struct filename *name)