]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fix merge error in checking send/recv addr2 flags
authorJens Axboe <axboe@kernel.dk>
Tue, 21 Jun 2022 13:47:13 +0000 (07:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jun 2022 13:47:13 +0000 (07:47 -0600)
commit6a553e74112e80d06df3c57a5b75babbb3ab0899
treeb6b9126291a3d821135f738039442d90bfe72b5d
parent0c3a53210108d2f24906a6bb65b5b2701a96fea8
io_uring: fix merge error in checking send/recv addr2 flags

With the dropping of the IOPOLL checking in the per-opcode handlers,
we inadvertently left two checks in the recv/recvmsg and send/sendmsg
prep handlers for the same thing, and one of them includes addr2 which
holds the flags for these opcodes.

Fix it up and kill the redundant checks.

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