aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-01-14 09:23:18 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-01-14 09:38:48 -0800
commit773aa34dfc3c38b8d7988a18334eb611a47dccd7 (patch)
treeeb82b6ef49cdd84569513efaa4106fef114a53a8 /include
parentdf0d539d04247dbbfcb10c364638df7edaef697e (diff)
Extend write_buf documentation
Diffstat (limited to 'include')
-rw-r--r--include/fuse_lowlevel.h5
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
*