diff options
| author | Pavel Begunkov <[email protected]> | 2020-05-04 20:00:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-09 16:16:10 +0000 |
| commit | c96874265cd04b4bd4a8e114ac9af039a6d83cfe (patch) | |
| tree | cae6a3895c52a37ab4215f262e76c319d78a8dbd /tools/perf/scripts/python | |
| parent | io_uring: don't use 'fd' for openat/openat2/statx (diff) | |
| download | kernel-c96874265cd04b4bd4a8e114ac9af039a6d83cfe.tar.gz kernel-c96874265cd04b4bd4a8e114ac9af039a6d83cfe.zip | |
io_uring: fix zero len do_splice()
do_splice() doesn't expect len to be 0. Just always return 0 in this
case as splice(2) does.
Fixes: 7d67af2c0134 ("io_uring: add splice(2) support")
Reported-by: Jann Horn <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
