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:23:18 -0800 |
commit | 2ff84d34d6d20206246b33d4ed67dbc439e20961 (patch) | |
tree | 484b1bc3a24583eaf8c734b260ce8c37f8f845cc | |
parent | d09dbea729199b1f702e55dd9ddbe85158fca192 (diff) | |
download | fuse-2ff84d34d6d20206246b33d4ed67dbc439e20961.tar.gz |
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 caf4020..8262d38 100644 --- 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 * |