diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-01-14 09:23:18 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-01-14 09:38:48 -0800 |
commit | 773aa34dfc3c38b8d7988a18334eb611a47dccd7 (patch) | |
tree | eb82b6ef49cdd84569513efaa4106fef114a53a8 | |
parent | df0d539d04247dbbfcb10c364638df7edaef697e (diff) |
Extend write_buf documentation
-rw-r--r-- | include/fuse_lowlevel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 3cc9db5..32908cb 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -932,6 +932,11 @@ struct fuse_lowlevel_ops { * kernel supports splicing from the fuse device, then the * data will be made available in pipe for supporting zero * copy data transfer. + * + * buf->count is guaranteed to be one (and thus buf->idx is + * always zero). The write_buf handler must ensure that + * bufv->off is correctly updated (reflecting the number of + * bytes read from bufv->buf[0]). * * Introduced in version 2.9 * |