io_uring: add a {task,files} pair matching helper
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 9 Feb 2021 04:47:36 +0000 (04:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Feb 2021 12:54:54 +0000 (13:54 +0100)
commitf6d93f855553b96d7b53ceddc0438d28de5b94df
tree152e287946281739908c27ae71fdf19f37e4b467
parentfe9334186a50166f4d5f1e9bfedd257d22e6c4a9
io_uring: add a {task,files} pair matching helper

[ Upstream commit 08d23634643c239ddae706758f54d3a8e0c24962 ]

Add io_match_task() that matches both task and files.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c