From: Jeff Layton Date: Mon, 27 Jan 2014 18:33:28 +0000 (-0500) Subject: vfs: unexport the getname() symbol X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9115eac2c788c17b57c9256cb322fa7371972ddf;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git vfs: unexport the getname() symbol Leaving getname() exported when putname() isn't is a bad idea. Signed-off-by: Jeff Layton Signed-off-by: Al Viro --- 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)