WSL2-Linux-Kernel/io_uring
Jens Axboe a180ca3369 io_uring: ensure '0' is returned on file registration success
A previous backport mistakenly removed code that cleared 'ret' to zero,
as the SCM logging was performed. Fix up the return value so we don't
return an errant error on fixed file registration.

Fixes: d909d381c3 ("io_uring: drop any code related to SCM_RIGHTS")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-10 16:19:37 +02:00
..
Makefile io_uring: move to separate directory 2022-12-14 11:37:31 +01:00
io-wq.c io_uring: break out of iowq iopoll on teardown 2023-09-19 12:22:54 +02:00
io-wq.h io_uring: break out of iowq iopoll on teardown 2023-09-19 12:22:54 +02:00
io_uring.c io_uring: ensure '0' is returned on file registration success 2024-04-10 16:19:37 +02:00