fs: split off do_user_path_at_empty from user_path_at_empty()
authorStefan Roesch <shr@fb.com>
Thu, 23 Dec 2021 23:51:19 +0000 (15:51 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Dec 2021 14:42:31 +0000 (07:42 -0700)
commit1edd3dc1dd197d624d56df001b7174dd704aa7ef
tree33c44d42ff402c6554039d05f7afaa98f88c405d
parentb4518682080d3a1cdd6ea45a54ff6772b8b2797a
fs: split off do_user_path_at_empty from user_path_at_empty()

This splits off a do_user_path_at_empty function from the
user_path_at_empty_function. This is required so it can be
called from io_uring.

Signed-off-by: Stefan Roesch <shr@fb.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20211223235123.4092764-2-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/namei.c
include/linux/namei.h