io_uring: abstract out main poll wake handler
authorJens Axboe <axboe@kernel.dk>
Mon, 10 Feb 2020 16:10:58 +0000 (09:10 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Feb 2020 00:44:07 +0000 (17:44 -0700)
commit09aacd048781ff1f99dc8ac8e019442dd859dc0b
treea731f91bff979e8b722f00d149d9e16f9e1a88e8
parenta2289fdffe46c57b0918dd2a3c90a7c2293ad4e3
io_uring: abstract out main poll wake handler

In preparation for having multiple poll waitqueues, abstract out the
main wake handler so we can call it with the desired data.

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