diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-13 09:12:02 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-15 01:10:45 -0400 |
commit | b853a16176cf3e02c57e215743015614152c2428 (patch) | |
tree | 950536eeec92383236f30c6c57052724de24261b /fs/namei.c | |
parent | 9883d1855ecfafc60045a93abcee6c42e0a5f571 (diff) | |
download | linux-b853a16176cf3e02c57e215743015614152c2428.tar.bz2 |
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.c | 8 |
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 |