io_uring: don't check file ops of registered rings
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 25 Jun 2022 10:53:01 +0000 (11:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:46:54 +0000 (08:46 -0600)
commita69a2e6dcd308f0319cb3676cb978f5b68871989
tree93677627a60fda4ccbda2893c2cc310c92b52eef
parent6465662ec252cc77486f0e55a2da7f3a25f5c538
io_uring: don't check file ops of registered rings

Registered rings are per definitions io_uring files, so we don't need to
additionally verify them.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/425cd64fd885b8e329a46c205ee811987691baaf.1656153286.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c