projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd948e
)
vfs: unexport the getname() symbol
author
Jeff Layton
<jlayton@redhat.com>
Mon, 27 Jan 2014 18:33:28 +0000
(13:33 -0500)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index bcb838e2e52f24593da609abba67dc5ab5336947..445d9bbc21eb3b17e735a685b4bc626bfec72a34 100644
(file)
--- 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)