diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-18 20:51:12 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-24 18:02:52 -0600 |
commit | 772f5e002b9ef65c22956990be9ecb2df58cd9c9 (patch) | |
tree | cf0eccb7df253dc512ffd3c5a019653151038bc3 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 93f052cb39e1f8c7a002e2ecbc7f45f354dcf0c7 (diff) |
io_uring: refactor io_assign_file error path
All io_assign_file() callers do error handling themselves,
req_set_fail() in the io_assign_file()'s fail path needlessly bloats the
kernel and is not the best abstraction to have. Simplify the error path.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/eff77fb1eac2b6a90cca5223813e6a396ffedec0.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