Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* allocated by getname. So we must hold the reference to it until all
* path-walking is complete.
*/
* allocated by getname. So we must hold the reference to it until all
* path-walking is complete.
*/
-static struct filename *
+static inline struct filename *
user_path_parent(int dfd, const char __user *path,
struct path *parent,
struct qstr *last,
user_path_parent(int dfd, const char __user *path,
struct path *parent,
struct qstr *last,