aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-09-23 11:05:34 -0600
committerJens Axboe <axboe@kernel.dk>2019-09-23 11:05:34 -0600
commit32960613b7c3352ddf38c42596e28a16ae36335e (patch)
tree60748bfdf64056a50293f2b4c0641c3e728e6813 /include/uapi/linux
parentio_uring: IORING_OP_TIMEOUT support (diff)
downloadlinux-dev-32960613b7c3352ddf38c42596e28a16ae36335e.tar.xz
linux-dev-32960613b7c3352ddf38c42596e28a16ae36335e.zip
io_uring: correctly handle non ->{read,write}_iter() file_operations
Currently we just -EINVAL a read or write to an fd that isn't backed by ->read_iter() or ->write_iter(). But we can handle them just fine, as long as we punt fo async context first. Implement a simple loop function for doing ->read() or ->write() instead, and ensure we call it appropriately. Reported-by: 李通洲 <carter.li@eoitek.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions