io_uring: enable file table usage for SQPOLL rings
authorJens Axboe <axboe@kernel.dk>
Sat, 5 Sep 2020 17:36:08 +0000 (11:36 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Sep 2020 16:58:09 +0000 (10:58 -0600)
commit8f95cf7f28bf2ba3d83612038cca21ede88085fa
treef231793f291de5bd83192edfec38c2f73ae42f1c
parent67b08c1c9ffb003fa0a71541b3cb28e4d19231c0
io_uring: enable file table usage for SQPOLL rings

Now that SQPOLL supports non-registered files and grabs the file table,
we can relax the restriction on open/close/accept/connect and allow
them on a ring that is setup with IORING_SETUP_SQPOLL.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c