projects
/
kernel
/
kernel-generic.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
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index
bcb838e
..
445d9bb
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)