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)
commitc127a2a1b7baa5eb40a7e2de4b7f0c51ccbbb2ef
tree11f0678b7a57b5e5765987de364c97d6edc6e202
parentb7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4
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