aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-13 09:12:02 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-15 01:10:45 -0400
commitb853a16176cf3e02c57e215743015614152c2428 (patch)
tree950536eeec92383236f30c6c57052724de24261b /fs/namei.c
parentnamei: move saved_nd pointer into struct nameidata (diff)
downloadlinux-dev-b853a16176cf3e02c57e215743015614152c2428.tar.xz
linux-dev-b853a16176cf3e02c57e215743015614152c2428.zip
turn user_{path_at,path,lpath,path_dir}() into static inlines
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 1a117c0d13c5..2dad0eaf91d3 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2299,13 +2299,7 @@ int user_path_at_empty(int dfd, const char __user *name, unsigned flags,
return filename_lookup(dfd, getname_flags(name, flags, empty),
flags, path, NULL);
}
-
-int user_path_at(int dfd, const char __user *name, unsigned flags,
- struct path *path)
-{
- return user_path_at_empty(dfd, name, flags, path, NULL);
-}
-EXPORT_SYMBOL(user_path_at);
+EXPORT_SYMBOL(user_path_at_empty);
/*
* NB: most callers don't do anything directly with the reference to the