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 Dec 2020 19:03:59 +0000 (12:03 -0700)
commit14587a46646d30d2b4a6b69865682cfe6bbdcd1f
tree1d41fbb2470479f813cdc1370d5b4eae1cf8fdd4
parent28cea78af44918b920306df150afbd116bd94301
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