inline user_path_create()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 May 2015 11:00:28 +0000 (07:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 May 2015 05:10:44 +0000 (01:10 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c

index 53f832adca7e6d46607157c4522e5407047dfb71..22814d067fede71b65202ac1209e71c2070d7cd0 100644 (file)
@@ -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);