Skip to content
Commit 464dca61 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: mask in error/nval/hangup consistently for poll



Instead of masking these in as part of regular POLL_ADD prep, do it in
io_init_poll_iocb(), and include NVAL as that's generally unmaskable,
and RDHUP alongside the HUP that is already set.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9532b99b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment