commit | ce765372bc443573d1d339a2bf4995de385dea3a | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Fri Oct 09 13:49:51 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 09 08:52:26 2020 -0600 |
tree | ae4b4eb1580c14976b6eda468029edcd0919b2e2 | |
parent | ed6930c9201cd1e00f74474da2f095796a0d82f6 [diff] |
io_uring: Fix use of XArray in __io_uring_files_cancel We have to drop the lock during each iteration, so there's no advantage to using the advanced API. Convert this to a standard xa_for_each() loop. Reported-by: syzbot+27c12725d8ff0bfe1a13@syzkaller.appspotmail.com Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>