mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
inline user_path_create()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user