diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2019-10-25 12:31:31 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2019-10-25 09:02:01 -0600 |
| commit | 935d1e45908afb8853c497f2c2bbbb685dec51dc (patch) | |
| tree | 408e5c91fcd34aaa19d71fb4c672d89bf3e9c756 /fs/btrfs/delalloc-space.c | |
| parent | fb5ccc98782f654778cb8d96ba8a998304f9a51f (diff) | |
io_uring: Fix race for sqes with userspace
io_ring_submit() finalises with
1. io_commit_sqring(), which releases sqes to the userspace
2. Then calls to io_queue_link_head(), accessing released head's sqe
Reorder them.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/btrfs/delalloc-space.c')
0 files changed, 0 insertions, 0 deletions
