commit | 2941267bd3dad018de1d51fe2cd996b7bc1e5a5d | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Mar 06 11:02:11 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Mar 07 14:12:43 2021 -0700 |
tree | f2cb4fecfdaa7e869a1cc161eef04ac03961a16b | |
parent | 003e8dccdb22712dae388e682182d5f08b32386f [diff] |
io_uring: make del_task_file more forgiving Rework io_uring_del_task_file(), so it accepts an index to delete, and it's not necessarily have to be in the ->xa. Infer file from xa_erase() to maintain a single origin of truth. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>