linux/io_uring/rsrc.c
Joanne Koong 73c2a1255f io_uring/rsrc: clean up buffer cloning arg validation
commit b8201b50e4 upstream.

Get rid of some redundant checks and move the src arg validation to
before the buffer table allocation, which simplifies error handling.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-26 14:59:47 -08:00

1576 lines
36 KiB