diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-05-17 14:18:05 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-17 23:10:07 +0300 |
commit | 9dafdfc2f0a3ae551711098de3d7b621a469f11a (patch) | |
tree | dea5ad91fd3b7f956eecc0b50e34d2b64446bbc3 /include/linux/splice.h | |
parent | c11368a57be460de889696f6ff8815fbcacf4db2 (diff) | |
download | linux-9dafdfc2f0a3ae551711098de3d7b621a469f11a.tar.xz |
splice: export do_tee()
export do_tee() for use in io_uring
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/splice.h')
-rw-r--r-- | include/linux/splice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/splice.h b/include/linux/splice.h index ebbbfea48aa0..5c47013f708e 100644 --- a/include/linux/splice.h +++ b/include/linux/splice.h @@ -82,6 +82,9 @@ extern long do_splice(struct file *in, loff_t __user *off_in, struct file *out, loff_t __user *off_out, size_t len, unsigned int flags); +extern long do_tee(struct file *in, struct file *out, size_t len, + unsigned int flags); + /* * for dynamic pipe sizing */ |