summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-03-21 16:06:56 +0300
committerJens Axboe <axboe@kernel.dk>2021-03-21 18:41:14 +0300
commit00ddff431a458bbf143ea7c4c42d022676da1b17 (patch)
treea2c094c16df92bbe8c2040d7346541d019b1b2be /drivers/usb/gadget
parent4db4b1a0d1779dc159f7b87feb97030ec0b12597 (diff)
downloadlinux-00ddff431a458bbf143ea7c4c42d022676da1b17.tar.xz
io-wq: ensure task is running before processing task_work
Mark the current task as running if we need to run task_work from the io-wq threads as part of work handling. If that is the case, then return as such so that the caller can appropriately loop back and reset if it was part of a going-to-sleep flush. Fixes: 3bfe6106693b ("io-wq: fork worker threads from original task") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions