summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-20 03:26:01 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-25 03:39:15 +0300
commitbce5d70cd64a5d48aff613334b8a5fac450b9753 (patch)
tree99f9053df6ae27e57e2104aa4abad677e90a3aea /include/linux
parent9da070b142820031a0e273097f2b39982f45bbfd (diff)
downloadlinux-bce5d70cd64a5d48aff613334b8a5fac450b9753.tar.xz
io_uring: add a warn_once for poll_find
io_poll_remove() expects poll_find() to search only for poll requests and passes a flag for this. Just be a little bit extra cautious considering lots of recent poll/cancellation changes and add a WARN_ON_ONCE checking that we don't get an apoll'ed request. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/ec9a66f1e22f99dcd02288d4e42f3cc6bb357804.1655684496.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions