Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 520ae687 authored by Al Viro's avatar Al Viro
Browse files

inline user_path_create()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a2ec4a2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3457,7 +3457,7 @@ void done_path_create(struct path *path, struct dentry *dentry)
}
}
EXPORT_SYMBOL(done_path_create);
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)
				struct path *path, unsigned int lookup_flags)
{
{
	return filename_create(dfd, getname(pathname), path, lookup_flags);
	return filename_create(dfd, getname(pathname), path, lookup_flags);