vfs: unexport the getname() symbol
authorJeff Layton <jlayton@redhat.com>
Mon, 27 Jan 2014 18:33:28 +0000 (13:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Jan 2014 19:28:56 +0000 (14:28 -0500)
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>
fs/namei.c

index bcb838e2e52f24593da609abba67dc5ab5336947..445d9bbc21eb3b17e735a685b4bc626bfec72a34 100644 (file)
@@ -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)