summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-15 22:13:43 -0700
committerJens Axboe <axboe@kernel.dk>2019-12-17 19:57:20 -0700
commitb7bb4f7da0a1a92f142697f1c9ce335e7a44f4b1 (patch)
treeecb67299672c337c0c0bef786cffb5f3fc3d5d25 /fs/char_dev.c
parent525b305d61ede489ce2118b000a5dabd6d869dac (diff)
downloadlinux-b7bb4f7da0a1a92f142697f1c9ce335e7a44f4b1.tar.bz2
io_uring: fix pre-prepped issue with force_nonblock == true
Some of these code paths assume that any force_nonblock == true issue is not prepped, but that's not true if we did prep as part of link setup earlier. Check if we already have an async context allocate before setting up a new one. Cleanup the async context setup in general, we have a lot of duplicated code there. Fixes: 03b1230ca12a ("io_uring: ensure async punted sendmsg/recvmsg requests copy data") Fixes: f67676d160c6 ("io_uring: ensure async punted read/write requests copy iovec") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions