aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-05-13 13:04:47 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-05-13 13:04:47 +0000
commit43a20ad720402cf852fc8a6cdd20b98c74dcd816 (patch)
treef5e6c313eeb6c72c8597755a40227246e0a9ac67 /include
parent689f563f9bb37e1eaa5075f3d374ab6e598d21dc (diff)
downloadlibfuse-43a20ad720402cf852fc8a6cdd20b98c74dcd816.tar.gz
clarify comment
Diffstat (limited to 'include')
-rw-r--r--include/fuse.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/fuse.h b/include/fuse.h
index f523051..1cb7bbf 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -86,12 +86,15 @@ typedef int (*fuse_dirfil_t) (fuse_dirh_t h, const char *name, int type);
* - release() is called when an open file has:
* 1) all file descriptors closed
* 2) all memory mappings unmapped
- * This call need only be implemented if this information is required,
- * otherwise set this function to NULL.
+ * For every open() call there will be exactly one release() call
+ * with the same flags. It is possible to have a file opened more
+ * than once, in which case only the last release will mean, that
+ * no more reads/writes will happen on the file. This call need
+ * only be implemented if this information is required, otherwise
+ * set this function to NULL.
*
* - fsync() has a boolean 'datasync' parameter which if TRUE then do
- * an fdatasync() operation.
- */
+ * an fdatasync() operation. */
struct fuse_operations {
int (*getattr) (const char *, struct stat *);
int (*readlink) (const char *, char *, size_t);