aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-03-11 12:27:04 -0600
committerJens Axboe <axboe@kernel.dk>2020-03-11 12:29:15 -0600
commit3f9d64415fdaa73017fcb168930006648617b488 (patch)
tree7be5027c3229747e267e930ed3efc9a962e3e803 /fs/io-wq.c
parentio_uring: dual license io_uring.h uapi header (diff)
downloadwireguard-linux-3f9d64415fdaa73017fcb168930006648617b488.tar.xz
wireguard-linux-3f9d64415fdaa73017fcb168930006648617b488.zip
io_uring: fix truncated async read/readv and write/writev retry
Ensure we keep the truncated value, if we did truncate it. If not, we might read/write more than the registered buffer size. Also for retry, ensure that we return the truncated mapped value for the vectorized versions of the read/write commands. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions