summaryrefslogtreecommitdiff
path: root/io_uring/io_uring.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-03-08 09:26:13 -0700
committerJens Axboe <axboe@kernel.dk>2023-03-09 09:23:59 -0700
commit03b3d6be73e81ddb7c2930d942cdd17f4cfd5ba5 (patch)
treecd633f5213076616d13d9d13dca6c4bfc6f6324a /io_uring/io_uring.c
parent01e68ce08a30db3d842ce7a55f7f6e0474a55f9a (diff)
downloadlinux-next-03b3d6be73e81ddb7c2930d942cdd17f4cfd5ba5.tar.gz
io_uring/uring_cmd: ensure that device supports IOPOLL
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: 5756a3a7e713 ("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>
Diffstat (limited to 'io_uring/io_uring.c')
0 files changed, 0 insertions, 0 deletions