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)
commitb60cac14bb3c88cff2a7088d9095b01a80938c41
treeb6b9126291a3d821135f738039442d90bfe72b5d
parent1bacd264d3c3a05de4afdd1712c9dd6ccebb9490
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