]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: file switch work needs to get flushed on exit
authorJens Axboe <axboe@kernel.dk>
Fri, 17 Jan 2020 18:15:34 +0000 (11:15 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:07 +0000 (17:04 -0700)
commit55d8162825e1f4a61d94e3b757d16bc1b43d7ed6
tree5485e29e2b5ea91d059267e8e2d4a84185207d05
parentef1c3a61899441ec544e6cc2a1c5832f725ab8a6
io_uring: file switch work needs to get flushed on exit

We currently flush early, but if we have something in progress and a
new switch is scheduled, we need to ensure to flush after our teardown
as well.

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