inline user_path_parent()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -2312,7 +2312,7 @@ EXPORT_SYMBOL(user_path_at);
|
|||||||
* allocated by getname. So we must hold the reference to it until all
|
* allocated by getname. So we must hold the reference to it until all
|
||||||
* path-walking is complete.
|
* path-walking is complete.
|
||||||
*/
|
*/
|
||||||
static struct filename *
|
static inline struct filename *
|
||||||
user_path_parent(int dfd, const char __user *path,
|
user_path_parent(int dfd, const char __user *path,
|
||||||
struct path *parent,
|
struct path *parent,
|
||||||
struct qstr *last,
|
struct qstr *last,
|
||||||
|
Reference in New Issue
Block a user