diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-09-06 00:45:14 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-05 15:59:51 -0600 |
commit | b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 (patch) | |
tree | 024015addf58f2ed8c79b89d6c20be7cefc418b6 /fs/afs/misc.c | |
parent | c183edff33fdcd639d222a8f473bf44602adc655 (diff) |
io_uring: fix cancel of deferred reqs with ->files
While trying to cancel requests with ->files, it also should look for
requests in ->defer_list, otherwise it might end up hanging a thread.
Cancel all requests in ->defer_list up to the last request there with
matching ->files, that's needed to follow drain ordering semantics.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/afs/misc.c')
0 files changed, 0 insertions, 0 deletions