projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d09dbea
)
Extend write_buf documentation
author
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 14 Jan 2016 17:23:18 +0000
(09:23 -0800)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 14 Jan 2016 17:23:18 +0000
(09:23 -0800)
include/fuse_lowlevel.h
patch
|
blob
|
history
diff --git
a/include/fuse_lowlevel.h
b/include/fuse_lowlevel.h
index caf4020db990b8b4bb9a1a1b932f86bd99c72dcb..8262d38a87d1a4858738706d711da86412bed807 100644
(file)
--- a/
include/fuse_lowlevel.h
+++ b/
include/fuse_lowlevel.h
@@
-927,6
+927,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
*