From: Al Viro Date: Wed, 13 May 2015 11:00:28 +0000 (-0400) Subject: inline user_path_create() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=520ae6874726dbfdf52c779d387b584d95cfed7f;p=openwrt%2Fstaging%2Fblogic.git inline user_path_create() Signed-off-by: Al Viro --- 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);