diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-18 20:51:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-24 18:02:52 -0600 |
commit | 93f052cb39e1f8c7a002e2ecbc7f45f354dcf0c7 (patch) | |
tree | 55486463bc2a92c7893013aaf0c932374fc94ca9 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | a6d97a8a77cb66cbbf6a5afc6708b1c2f5b00ca2 (diff) |
io_uring: use right helpers for file assign locking
We have io_ring_submit_[un]lock() functions helping us with conditional
->uring_lock locking, use them in io_file_get_fixed() instead of hand
coding.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c9c9ff1e046f6eb68da0a251962a697f8a2275fa.1650311386.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions