Skip to content

Commit

Permalink
vfs: unexport the getname() symbol
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Layton authored and Al Viro committed Jan 31, 2014
1 parent dfd948e commit 9115eac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9115eac

Please sign in to comment.