Jens Axboe
f274495aea
io_uring/kbuf: return correct iovec count from classic buffer peek
...
io_provided_buffers_select() returns 0 to indicate success, but it should
be returning 1 to indicate that 1 vec was mapped. This causes peeking
to fail with classic provided buffers, and while that's not a use case
that anyone should use, it should still work correctly.
The end result is that no buffer will be selected, and hence a completion
with '0' as the result will be posted, without a buffer attached.
Fixes: 35c8711c8fc4 ("io_uring/kbuf: add helpers for getting/peeking multiple buffers")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-08-30 10:45:54 -06:00
..
2024-06-16 14:54:55 -06:00
2022-07-24 18:39:11 -06:00
2024-04-15 08:10:25 -06:00
2024-04-15 08:10:26 -06:00
2024-06-13 19:25:28 -06:00
2023-05-26 20:22:41 -06:00
2022-07-24 18:39:11 -06:00
2024-06-16 14:54:55 -06:00
2024-06-16 14:54:55 -06:00
2024-04-15 08:10:26 -06:00
2022-07-24 18:39:12 -06:00
2024-05-08 08:27:45 -06:00
2024-02-08 13:27:03 -07:00
2023-11-20 09:01:42 -07:00
2022-07-24 18:39:11 -06:00
2024-04-15 08:10:25 -06:00
2024-04-15 08:10:25 -06:00
2024-07-26 08:31:59 -06:00
2024-07-26 08:31:59 -06:00
2024-07-11 01:51:44 -06:00
2024-06-16 14:54:55 -06:00
2024-08-30 10:45:54 -06:00
2024-04-22 11:26:01 -06:00
2024-06-16 14:54:55 -06:00
2024-05-29 09:53:14 -06:00
2024-04-15 08:10:26 -06:00
2024-07-25 08:41:35 -06:00
2024-06-24 08:39:55 -06:00
2024-08-12 12:11:42 -06:00
2024-08-12 12:09:03 -06:00
2024-08-07 15:20:52 -06:00
2024-06-19 07:57:21 -06:00
2024-05-10 06:09:45 -06:00
2022-07-24 18:39:11 -06:00
2024-04-30 13:06:27 -06:00
2024-04-22 19:31:18 -06:00
2024-06-19 08:58:00 -06:00
2024-06-19 08:58:00 -06:00
2024-01-23 15:25:14 -07:00
2023-12-12 07:42:57 -07:00
2024-07-30 06:18:58 -06:00
2024-04-15 08:10:25 -06:00
2024-04-15 08:10:26 -06:00
2024-06-19 08:58:00 -06:00
2023-12-19 08:54:20 -07:00
2024-08-30 07:52:43 -06:00
2024-04-15 08:10:26 -06:00
2024-06-20 15:19:17 -06:00
2024-04-15 08:10:25 -06:00
2023-03-09 10:10:58 -07:00
2023-12-12 16:19:59 +01:00
2022-07-24 18:39:11 -06:00
2024-08-13 06:10:59 -06:00
2024-03-01 06:28:19 -07:00
2024-06-05 17:03:57 +02:00
2022-07-24 18:39:11 -06:00
2023-01-29 15:18:26 -07:00
2022-07-24 18:39:11 -06:00
2023-05-16 08:06:00 -06:00
2022-10-07 12:25:30 -06:00
2024-07-24 08:01:49 -06:00
2022-09-21 13:15:01 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00
2024-07-24 08:01:49 -06:00
2024-04-15 08:10:25 -06:00
2024-04-15 08:10:24 -06:00
2023-09-21 12:04:45 -06:00
2024-06-05 17:03:57 +02:00
2022-07-24 18:39:11 -06:00