aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-10-23 12:13:58 +0100
committerJens Axboe <[email protected]>2021-10-25 07:42:31 -0600
commit658d0a401637ffbc733b0f03723e9e1255289429 (patch)
treecbac1afa0e12a92611625969cd6c655d49c0c3ec /net/unix/af_unix.c
parentd01905db14eb6223dd1c375001f4daa26cb15c1f (diff)
io_uring: check if opcode needs poll first on arming
->pollout or ->pollin are set only for opcodes that need a file, so if io_arm_poll_handler() tests them first we can be sure that the request has file set and the ->file check can be removed. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/9adfe4f543d984875e516fce6da35348aab48668.1634987320.git.asml.silence@gmail.com Reviewed-by: Hao Xu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions