summaryrefslogtreecommitdiffstats
path: root/fs/fuse
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 /fs/fuse
parent5262f567987d3c30052b22e78c35c2313d07b230 (diff)
downloadlinux-32960613b7c3352ddf38c42596e28a16ae36335e.tar.bz2
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 'fs/fuse')
0 files changed, 0 insertions, 0 deletions