]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fix wrong arm_poll error handling
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 21 Jun 2022 23:00:36 +0000 (00:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jun 2022 23:24:37 +0000 (17:24 -0600)
commit11cfd08426f2e3850489f6d555a5a01758e532ed
tree2d5dc366b8f8ed4b57b647a6916fe99972a2c016
parente3b094f4361bab12dae5f9d57ba1ee4d81812c1d
io_uring: fix wrong arm_poll error handling

Leaving ip.error set when a request was punted to task_work execution is
problematic, don't forget to clear it.

Fixes: 3aeba5c7df18c ("io_uring: poll rework")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a6c84ef4182c6962380aebe11b35bdcb25b0ccfb.1655852245.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c