]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: fix linked deferred ->files cancellation
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 5 Sep 2020 21:45:15 +0000 (00:45 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 5 Sep 2020 22:02:42 +0000 (16:02 -0600)
commit7cbecaa792a17f9107c316684fe4c0e60de0b461
tree11f0678b7a57b5e5765987de364c97d6edc6e202
parent0eeb6f4c4dafe465c754d928e4571b3bc6026609
io_uring: fix linked deferred ->files cancellation

While looking for ->files in ->defer_list, consider that requests there
may actually be links.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c