summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-05-13 13:00:28 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-15 07:10:44 +0200
commit520ae6874726dbfdf52c779d387b584d95cfed7f (patch)
treefc4458a7cd0ad3010062ca96a03905c778c813de /fs
parentinline user_path_parent() (diff)
downloadlinux-520ae6874726dbfdf52c779d387b584d95cfed7f.tar.xz
linux-520ae6874726dbfdf52c779d387b584d95cfed7f.zip
inline user_path_create()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 53f832adca7e..22814d067fed 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3457,7 +3457,7 @@ void done_path_create(struct path *path, struct dentry *dentry)
}
EXPORT_SYMBOL(done_path_create);
-struct dentry *user_path_create(int dfd, const char __user *pathname,
+inline struct dentry *user_path_create(int dfd, const char __user *pathname,
struct path *path, unsigned int lookup_flags)
{
return filename_create(dfd, getname(pathname), path, lookup_flags);