]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: wire up allocated direct descriptors for socket
authorJens Axboe <axboe@kernel.dk>
Thu, 26 May 2022 22:58:18 +0000 (16:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 May 2022 08:50:06 +0000 (02:50 -0600)
commit02fc1ab1bf89cc467ed93861aacbd2c5bc289d31
treeb484e4829c4cdbc0295b94b51fa95c802a0ca86c
parent59d82d0e0092369da0b9b5779b798b862cc1be84
io_uring: wire up allocated direct descriptors for socket

The socket support was merged in an earlier branch that didn't yet
have support for allocating direct descriptors, hence only open
and accept got support for that.

Do the one-liner to enable it now, so we have consistent support for
any request that can instantiate a file/direct descriptor.

Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c