Files
linux-stable-mirror/io_uring
Jens AxboeandGreg Kroah-Hartman da8fab32a7 io_uring/uring_cmd: ensure that device supports IOPOLL
commit 03b3d6be73 upstream.

It's possible for a file type to support uring commands, but not
pollable ones. Hence before issuing one of those, we should check
that it is supported and error out upfront if it isn't.

Cc: stable@vger.kernel.org
Fixes: 5756a3a7e7 ("io_uring: add iopoll infrastructure for io_uring_cmd")
Link: https://github.com/axboe/liburing/issues/816
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-17 08:50:14 +01:00
..
2022-08-12 17:01:00 -06:00
2022-09-21 13:15:02 -06:00
2022-10-16 17:07:12 -06:00
2022-10-07 12:25:30 -06:00
2022-09-01 17:39:05 -04:00